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

Commit 915655d

Browse files
authored
✨ v1.6.6 (#41)
1 parent 024d6bf commit 915655d

16 files changed

+478
-589
lines changed

.github/workflows/build.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
types: [published]
66

77
jobs:
8-
release:
9-
name: release ${{ matrix.target }}
8+
compile:
9+
name: compile for ${{ matrix.target }}
1010
runs-on: ubuntu-latest
1111
strategy:
1212
fail-fast: false
@@ -20,13 +20,7 @@ jobs:
2020
archive: zip
2121
steps:
2222
- uses: actions/checkout@master
23-
- name: Upload aarch64 binaries to release
24-
uses: svenstaro/upload-release-action@v2
25-
with:
26-
repo_token: ${{ secrets.GITHUB_TOKEN }}
27-
file: build/*.tar
28-
file_glob: true
29-
- name: Compile and release
23+
- name: Compile and upload binary
3024
uses: rust-build/rust-build.action@v1.4.0
3125
env:
3226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/upload.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Upload
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
upload:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: Upload aarch64 binaries to release
13+
uses: svenstaro/upload-release-action@v2
14+
with:
15+
repo_token: ${{ secrets.GITHUB_TOKEN }}
16+
file: build/*.tar
17+
file_glob: true
Binary file not shown.
Binary file not shown.

build/aarch64-unknown-linux-gnu/ufb

4 KB
Binary file not shown.

build/aarch64-unknown-linux-musl/ufb

4 KB
Binary file not shown.

src/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "unsafe-4-bit"
3-
version = "1.6.5"
3+
version = "1.6.6"
44
edition = "2021"
55
license = "GPL-3.0-or-later"
66

src/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ UFB_RELEASE_BIN_MUSL="$UFB_RELEASE_BIN_DIR_MUSL/ufb"
1010
RUSTFLAGS="--remap-path-prefix $HOME=~"
1111

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

2829
rm Cargo.lock
30+
31+
# sudo rm ../examples/*.ufbb && for x in $(find ../examples/ -type f -name "*.ufb"); do ufb -c "$x"; done

0 commit comments

Comments
 (0)