From 38f7e17e3216345b6148ee7ac1148dca1b53b60a Mon Sep 17 00:00:00 2001 From: Victor Teo Date: Sat, 3 Feb 2024 05:05:55 +0800 Subject: [PATCH] 0.2.1-alpha.3 --- .github/workflows/CI.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 038a5af..31a6a2e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -49,12 +49,11 @@ 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 --yes --upgrade pkg-config build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl - export OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-musl"; - export OPENSSL_INCLUDE="/usr/include/openssl"; - build: yarn build + build: | + apk add pkgconfig openssl-dev; + set -e && + yarn build && + strip *.node - host: macos-latest target: aarch64-apple-darwin build: yarn build --target aarch64-apple-darwin @@ -77,13 +76,17 @@ jobs: target: aarch64-linux-android setup: | sudo apt-get update - sudo apt-get install --yes --upgrade build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl + sudo apt-get install --yes --upgrade pkg-config build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl + export OPENSSL_LIB_DIR="/usr/lib/aarch64-linux-android" + export OPENSSL_INCLUDE="/usr/include/openssl" build: yarn build --target aarch64-linux-android - host: ubuntu-latest target: armv7-linux-androideabi setup: | sudo apt-get update - sudo apt-get install --yes --upgrade build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl + sudo apt-get install --yes --upgrade pkg-config build-essential cmake protobuf-compiler libssl-dev glibc-source musl-tools perl + export OPENSSL_LIB_DIR="/usr/lib/armv7-linux-androideabi" + export OPENSSL_INCLUDE="/usr/include/openssl" build: yarn build --target armv7-linux-androideabi - host: ubuntu-latest target: aarch64-unknown-linux-musl