Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP authored Dec 8, 2023
1 parent 5a7612d commit e71fca9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,10 @@ jobs:
rustup default nightly
rustup target add aarch64-unknown-linux-musl
build: |-
source /root/.cargo/env
cargo
cd /addon
npm install
PATH="$HOME/.cargo/bin:$PATH" PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-musl npm run build
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-musl npm run build
strip *.node
- distro: ubuntu
target: aarch64-unknown-linux-gnu
Expand All @@ -208,11 +207,10 @@ jobs:
npm install n -g
n stable
build: |-
source /root/.cargo/env
cargo
cd /addon
npm install
PATH="$HOME/.cargo/bin:$PATH" PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build
strip *.node
name: ${{ matrix.settings.target }}
runs-on: ubuntu-latest
Expand All @@ -238,6 +236,8 @@ jobs:
--volume "${PWD}:/addon"
--volume "~/.cargo:/root/.cargo"
install: ${{ matrix.settings.install }}
env: |
PATH: $HOME/.cargo/bin:$PATH
run: ${{ matrix.settings.build }}
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit e71fca9

Please sign in to comment.