diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6a0751f..1d213ab 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 &&