@@ -22,14 +22,14 @@ jobs:
2222 target : x86_64-apple-darwin
2323 architecture : x64
2424 build : |
25- yarn build
25+ yarn build:release
2626 strip -x *.node
2727 - host : windows-latest
28- build : yarn build
28+ build : yarn build:release
2929 target : x86_64-pc-windows-msvc
3030 architecture : x64
3131 - host : windows-latest
32- build : yarn build --target i686-pc-windows-msvc
32+ build : yarn build:release --target i686-pc-windows-msvc
3333 target : i686-pc-windows-msvc
3434 architecture : x64
3535 - host : ubuntu-18.04
@@ -39,16 +39,16 @@ jobs:
3939 set -e &&
4040 rustup target add x86_64-unknown-linux-gnu &&
4141 cd tooling/cli/node
42- yarn build --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 &&
42+ yarn build:release --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 &&
4343 llvm-strip -x *.node
4444 - host : ubuntu-18.04
4545 target : x86_64-unknown-linux-musl
4646 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
47- build : set -e && cd tooling/cli/node && yarn build && strip *.node
47+ build : set -e && cd tooling/cli/node && yarn build:release && strip *.node
4848 - host : macos-latest
4949 target : aarch64-apple-darwin
5050 build : |
51- yarn build --target=aarch64-apple-darwin
51+ yarn build:release --target=aarch64-apple-darwin
5252 strip -x *.node
5353 - host : ubuntu-18.04
5454 architecture : x64
5757 sudo apt-get update
5858 sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu -y
5959 build : |
60- yarn build --target=aarch64-unknown-linux-gnu
60+ yarn build:release --target=aarch64-unknown-linux-gnu
6161 aarch64-linux-gnu-strip *.node
6262 - host : ubuntu-18.04
6363 architecture : x64
6666 sudo apt-get update
6767 sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
6868 build : |
69- yarn build --target=armv7-unknown-linux-gnueabihf
69+ yarn build:release --target=armv7-unknown-linux-gnueabihf
7070 arm-linux-gnueabihf-strip *.node
7171 - host : ubuntu-18.04
7272 architecture : x64
@@ -76,12 +76,12 @@ jobs:
7676 set -e &&
7777 rustup target add aarch64-unknown-linux-musl &&
7878 cd tooling/cli/node &&
79- yarn build --target aarch64-unknown-linux-musl &&
79+ yarn build:release --target aarch64-unknown-linux-musl &&
8080 /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
8181 # - host: windows-latest
8282 # architecture: x64
8383 # target: aarch64-pc-windows-msvc
84- # build: yarn build --target aarch64-pc-windows-msvc
84+ # build: yarn build:release --target aarch64-pc-windows-msvc
8585 name : stable - ${{ matrix.settings.target }} - node@16
8686 runs-on : ${{ matrix.settings.host }}
8787 steps :
@@ -173,7 +173,7 @@ jobs:
173173 # freebsd-version
174174 # cd ./tooling/cli/node/
175175 # yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
176- # yarn build
176+ # yarn build:release
177177 # strip -x *.node
178178 # rm -rf node_modules
179179 # rm -rf ../target
0 commit comments