Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Dec 7, 2023
1 parent b7023e2 commit 5b925fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ jobs:
npm install n -g
n stable
build: |-
source $HOME/.cargo/env
cd /addon
npm install
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-musl npm run build
Expand All @@ -210,6 +211,7 @@ jobs:
rustup default nightly
rustup target add aarch64-unknown-linux-gnu
build: |-
source $HOME/.cargo/env
cd /addon
npm install
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build
Expand All @@ -236,10 +238,7 @@ jobs:
githubToken: ${{ github.token }}
dockerRunArgs: |
--volume "${PWD}:/addon"
--volume "~/.cargo:/root/.cargo"
shell: /bin/sh
setup: |
source $HOME/.cargo/env
--volume "~/.cargo:/root/.cargo"
install: ${{ matrix.settings.install }}
run: ${{ matrix.settings.build }}
- name: Upload artifact
Expand Down

0 comments on commit 5b925fe

Please sign in to comment.