Skip to content

Commit

Permalink
set more envvars
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin committed Oct 11, 2024
1 parent 466c9dc commit 9a13cf1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-typescript-release.reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,16 @@ jobs:
- target: x86_64-unknown-linux-musl
host: ubuntu-latest
before: |
curl -LO https://musl.cc/x86_64-linux-musl-native.tgz
tar -xzf x86_64-linux-musl-native.tgz
echo "$PWD/x86_64-linux-musl-native/bin" >> $GITHUB_PATH
curl -LO https://musl.cc/x86_64-linux-musl-cross.tgz
tar -xzf x86_64-linux-musl-cross.tgz
echo "$PWD/x86_64-linux-musl-cross/bin" >> $GITHUB_PATH
cat >>$GITHUB_ENV <<EOF
CC_x86_64_unknown_linux_musl=x86_64-linux-musl-gcc
CXX_x86_64_unknown_linux_musl=x86_64-linux-musl-g++
AR_x86_64_unknown_linux_musl=x86_64-linux-musl-ar
CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=x86_64-linux-musl-cc
EOF
node_build: pnpm build:napi-release --target x86_64-unknown-linux-musl --use-napi-cross

# - target: aarch64-unknown-linux-musl
Expand Down

0 comments on commit 9a13cf1

Please sign in to comment.