From e2a6f5ec7d43a8b71f449c809a6a06ab379b00f2 Mon Sep 17 00:00:00 2001 From: skdhg <46562212+skdhg@users.noreply.github.com> Date: Sat, 5 Aug 2023 21:28:03 +0545 Subject: [PATCH] test --- .github/workflows/CI.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 &&