mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
chore(ci): Fix --cargo-flags
This commit is contained in:
parent
b292126b38
commit
a20f5d9a7c
6
.github/workflows/publish-node.yml
vendored
6
.github/workflows/publish-node.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
||||
build: |
|
||||
cargo build -p swc_cli --release --target=armv7-unknown-linux-gnueabihf
|
||||
cp ./target/armv7-unknown-linux-gnueabihf/release/swc .
|
||||
yarn build --target=armv7-unknown-linux-gnueabihf --cargo-flags '--no-default-features --features swc_v1'
|
||||
yarn build --target=armv7-unknown-linux-gnueabihf --cargo-flags='--no-default-features --features swc_v1'
|
||||
arm-linux-gnueabihf-strip swc.linux-arm-gnueabihf.node
|
||||
- host: ubuntu-latest
|
||||
target: aarch64-linux-android
|
||||
@ -114,7 +114,7 @@ jobs:
|
||||
export PATH="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin:${PATH}"
|
||||
cargo build -p swc_cli --release --target armv7-linux-androideabi
|
||||
cp ./target/armv7-linux-androideabi/release/swc .
|
||||
yarn build --target armv7-linux-androideabi --cargo-flags '--no-default-features --features swc_v1'
|
||||
yarn build --target armv7-linux-androideabi --cargo-flags='--no-default-features --features swc_v1'
|
||||
${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip *.node
|
||||
- host: ubuntu-latest
|
||||
target: aarch64-unknown-linux-musl
|
||||
@ -129,7 +129,7 @@ jobs:
|
||||
- host: windows-latest
|
||||
target: aarch64-pc-windows-msvc
|
||||
build: |
|
||||
cargo build -p swc_cli --release --target aarch64-pc-windows-msvc --cargo-flags '--no-default-features --features swc_v1'
|
||||
cargo build -p swc_cli --release --target aarch64-pc-windows-msvc --cargo-flags='--no-default-features --features swc_v1'
|
||||
cp target/aarch64-pc-windows-msvc/release/swc.exe .
|
||||
yarn build --target aarch64-pc-windows-msvc
|
||||
name: stable - ${{ matrix.settings.target }} - node@14
|
||||
|
Loading…
Reference in New Issue
Block a user