Skip to content

Commit 4f762ee

Browse files
committed
fix
1 parent 02716fe commit 4f762ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- host: ubuntu-latest
4242
target: x86_64-unknown-linux-musl
4343
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
44-
build: apk add musl-dev musl-utils gcc && ls -l /usr/bin && CC=x86_64-alpine-linux-musl-gcc yarn build --target x86_64-unknown-linux-musl
44+
build: apk add musl-dev musl-utils gcc && ls -l /usr/bin && CC=x86_64-alpine-linux-musl-gcc CMAKE_C_COMPILER=x86_64-alpine-linux-musl-gcc CMAKE_CXX_COMPILER=x86_64-alpine-linux-musl-g++ yarn build --target x86_64-unknown-linux-musl
4545
- host: macos-latest
4646
target: aarch64-apple-darwin
4747
build: yarn build --target aarch64-apple-darwin
@@ -62,7 +62,7 @@ jobs:
6262
apk add gcc musl-dev &&
6363
ls -l /usr/bin &&
6464
rustup target add aarch64-unknown-linux-musl &&
65-
CC=aarch64-alpine-linux-musl-gcc yarn build --target aarch64-unknown-linux-musl
65+
CC=aarch64-alpine-linux-musl-gcc CMAKE_C_COMPILER=aarch64-alpine-linux-musl-gcc CMAKE_CXX_COMPILER=aarch64-alpine-linux-musl-g++ yarn build --target aarch64-unknown-linux-musl
6666
name: stable - ${{ matrix.settings.target }} - node@20
6767
runs-on: ${{ matrix.settings.host }}
6868
steps:

0 commit comments

Comments
 (0)