Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Nov 4, 2024
1 parent b222638 commit 69e9a54
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/napi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69e9a54

Please sign in to comment.