Skip to content

Commit

Permalink
fix(CI.yml): Add yarn install in build command for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
miniben-90 committed Jan 13, 2024
1 parent 540cc9a commit 3e6e645
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ jobs:
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |
set -e
sudo apt-get install -y libx11-dev libxcb-ewmh-dev libxcb-randr0-dev
yarn build --target aarch64-unknown-linux-gnu
build: |-
set -e &&
sudo apt-get install -y libx11-dev libxcb-ewmh-dev libxcb-randr0-dev &&
yarn install &&
yarn build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip *.node
name: stable - ${{ matrix.settings.target }} - node@${{ matrix.node-version }}
Expand Down

0 comments on commit 3e6e645

Please sign in to comment.