This commit is contained in:
skdhg committed 2023-08-05 21:28:03 +05:45
1 parent 384552ff9c
commit e2a6f5ec7d
1 file changed
+19 -1
+19 -1
View File
@@ -38,6 +38,9 @@ jobs:
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: |-
set -e &&
yarn build --target x86_64-unknown-linux-gnu &&
@@ -45,6 +48,9 @@ jobs:
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: set -e && yarn build && strip *.node
- host: macos-latest
target: aarch64-apple-darwin
@@ -54,6 +60,9 @@ jobs:
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: |-
set -e &&
yarn build --target aarch64-unknown-linux-gnu &&
@@ -62,23 +71,32 @@ jobs:
target: armv7-unknown-linux-gnueabihf
setup: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf -y
sudo apt-get install gcc-arm-linux-gnueabihf libopus-dev -y
build: |
yarn build --target armv7-unknown-linux-gnueabihf
arm-linux-gnueabihf-strip *.node
- host: ubuntu-latest
target: aarch64-linux-android
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: |
yarn build --target aarch64-linux-android
${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip *.node
- host: ubuntu-latest
target: armv7-linux-androideabi
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: |
yarn build --target armv7-linux-androideabi
${ANDROID_NDK_LATEST_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
setup: |
sudo apt-get update
sudo apt-get install libopus-dev -y
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&