diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd8ac03a..11e46334 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,8 +41,15 @@ jobs: - host: ubuntu-latest target: x86_64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian - setup: cargo add openssl@=0.10 - build: yarn build --target x86_64-unknown-linux-gnu + setup: | + sudo apt-get update + sudo apt-get install -y pkg-config libx11-dev libssl-dev + cargo add openssl@=0.10 + build: |- + set -e && + rustup target add x86_64-unknown-linux-gnu && + yarn build --target x86_64-unknown-linux-gnu && + llvm-strip -x *.node - host: ubuntu-latest target: x86_64-unknown-linux-musl docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine