From 69e9a5463192a6faefaa37e7a2b641e04077762b Mon Sep 17 00:00:00 2001 From: Rigidity Date: Mon, 4 Nov 2024 14:03:14 -0500 Subject: [PATCH] test --- .github/workflows/napi.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/napi.yml b/.github/workflows/napi.yml index 13b9846a..7d978a42 100644 --- a/.github/workflows/napi.yml +++ b/.github/workflows/napi.yml @@ -41,7 +41,17 @@ jobs: - host: ubuntu-latest target: aarch64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 - build: apt-get update && apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu pkg-config libssl-dev && export CC=aarch64-linux-gnu-gcc && CXX=aarch64-linux-gnu-g++ && LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib:$LD_LIBRARY_PATH && pnpm build:linux-arm64 + build: | + apt-get update + apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu pkg-config libssl-dev + export CC=aarch64-linux-gnu-gcc + export CXX=aarch64-linux-gnu-g++ + export CFLAGS="--sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot" + export CXXFLAGS="--sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot" + export PKG_CONFIG_ALLOW_CROSS=1 + export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib:$LD_LIBRARY_PATH + export OPENSSL_SYSROOT_DIR=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot + pnpm build:linux-arm64 - host: macos-latest target: aarch64-apple-darwin build: pnpm build:macos-arm64