Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
✨ v1.6.6 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
JumperBot authored Dec 26, 2022
1 parent 024d6bf commit 915655d
Show file tree
Hide file tree
Showing 16 changed files with 478 additions and 589 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
types: [published]

jobs:
release:
name: release ${{ matrix.target }}
compile:
name: compile for ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -20,13 +20,7 @@ jobs:
archive: zip
steps:
- uses: actions/checkout@master
- name: Upload aarch64 binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*.tar
file_glob: true
- name: Compile and release
- name: Compile and upload binary
uses: rust-build/rust-build.action@v1.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Upload

on:
release:
types: [published]

jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Upload aarch64 binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*.tar
file_glob: true
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/aarch64-unknown-linux-gnu/ufb
Binary file not shown.
Binary file modified build/aarch64-unknown-linux-musl/ufb
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unsafe-4-bit"
version = "1.6.5"
version = "1.6.6"
edition = "2021"
license = "GPL-3.0-or-later"

Expand Down
3 changes: 3 additions & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ UFB_RELEASE_BIN_MUSL="$UFB_RELEASE_BIN_DIR_MUSL/ufb"
RUSTFLAGS="--remap-path-prefix $HOME=~"

rustfmt src/*
cargo clippy --fix --allow-dirty -- -A clippy::upper_case_acronyms -A clippy::new_ret_no_self
rm $UFB_RELEASE_BIN_DIR/*
rm $UFB_RELEASE_BIN_DIR_MUSL/*
rm ../build/*.tar
Expand All @@ -26,3 +27,5 @@ tar -cf "../build/Unsafe-4-Bit_v"$UFB_RELEASE_VERSION"_aarch64-unknown-linux-mus
sudo rm target -r

rm Cargo.lock

# sudo rm ../examples/*.ufbb && for x in $(find ../examples/ -type f -name "*.ufb"); do ufb -c "$x"; done
Loading

0 comments on commit 915655d

Please sign in to comment.