Skip to content

Commit

Permalink
chore(release): install rust toolchain on alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-olszewski committed Apr 17, 2024
1 parent 434501d commit bc69557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/turborepo-library-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
apk add libc6-compat curl
setup: |
pnpm install
rustup show active-toolchain
- host: ubuntu-latest
target: "aarch64-unknown-linux-musl"
Expand All @@ -62,9 +63,8 @@ jobs:
export PATH=/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo/bin:${PATH}
setup: |
export PATH=/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo/bin:${PATH}
rustup default $(cat ./rust-toolchain)-aarch64-unknown-linux-musl
rustup show active-toolchain
rustup target add aarch64-unknown-linux-musl
rustup toolchain install $(cat ./rust-toolchain)
pnpm install
rust_env: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc RUSTFLAGS="-Ctarget-feature=-crt-static"

Expand Down

0 comments on commit bc69557

Please sign in to comment.