Skip to content

Commit fb3b8af

Browse files
committed
fix(ci): aarch64 linux musl rustflags
1 parent abe3fdb commit fb3b8af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pack-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ jobs:
2222
- host: ubuntu-latest
2323
target: aarch64-unknown-linux-gnu
2424
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
25-
# Note: export RUSTFLAGS for musl need inject especially: https://github.com/utooland/utoo/pull/1980
2625
build: |
2726
rustup target add aarch64-unknown-linux-gnu &&
28-
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Zunstable-options -Csymbol-mangling-version=v0 -Clinker-flavor=gnu-lld-cc -Clink-self-contained=+linker' &&
2927
npm run build:binding --workspace=@utoo/pack -- --target aarch64-unknown-linux-gnu
3028
- host: ubuntu-latest
3129
target: aarch64-unknown-linux-musl
3230
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
31+
# Note: export RUSTFLAGS for musl need inject especially: https://github.com/utooland/utoo/pull/1980
3332
build: |
3433
set -ex &&
3534
rm /etc/apk/repositories &&
@@ -38,6 +37,7 @@ jobs:
3837
apk update &&
3938
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
4039
rustup target add aarch64-unknown-linux-musl &&
40+
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Zunstable-options -Csymbol-mangling-version=v0 -Clinker-flavor=gnu-lld-cc -Clink-self-contained=+linker' &&
4141
npm run build:binding --workspace=@utoo/pack -- --target aarch64-unknown-linux-musl
4242
- host: ubuntu-latest
4343
target: x86_64-unknown-linux-gnu

0 commit comments

Comments
 (0)