File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: utoopack-release
3
3
on :
4
4
release :
5
5
types : [published]
6
-
7
6
jobs :
8
7
build :
9
8
if : startsWith(github.event.release.tag_name, 'utoopack-v')
23
22
- host : ubuntu-latest
24
23
target : aarch64-unknown-linux-gnu
25
24
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
26
26
build : |
27
27
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' &&
28
29
npm run build:binding --workspace=@utoo/pack -- --target aarch64-unknown-linux-gnu
29
30
- host : ubuntu-latest
30
31
target : aarch64-unknown-linux-musl
45
46
- host : ubuntu-latest
46
47
target : x86_64-unknown-linux-musl
47
48
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
49
+ # Note: export RUSTFLAGS for musl need inject especially: https://github.com/utooland/utoo/pull/1980
48
50
build : |
49
51
set -ex &&
50
52
rm /etc/apk/repositories &&
53
55
apk update &&
54
56
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
55
57
rustup target add x86_64-unknown-linux-musl &&
58
+ 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' &&
56
59
npm run build:binding --workspace=@utoo/pack -- --target x86_64-unknown-linux-musl
57
60
# swc_plugin_runner not supported on aarch64 windows now
58
61
# - host: windows-latest
You can’t perform that action at this time.
0 commit comments