Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix rustup install components failed #4387

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ jobs:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
profile: ${{ inputs.profile }}
pre: export JEMALLOC_SYS_WITH_LG_PAGE=16 && export CC_aarch64_unknown_linux_gnu=/usr/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc # for jemallocator to compile
options: -v $HOME/.cargo:/usr/local/cargo -v $HOME/.rustup:/usr/local/rustup

- name: Build x86_64-unknown-linux-musl in Docker
if: ${{ inputs.target == 'x86_64-unknown-linux-musl' }}
Expand All @@ -119,7 +118,6 @@ jobs:
target: ${{ inputs.target }}
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
profile: ${{ inputs.profile }}
options: -v $HOME/.cargo/git/db:/root/.cargo/git/db -v $HOME/.cargo/registry/cache:/root/.cargo/registry/cache -v $HOME/.cargo/registry/index:/root/.cargo/registry/index

- name: Build aarch64-unknown-linux-musl in Docker
if: ${{ inputs.target == 'aarch64-unknown-linux-musl' }}
Expand All @@ -130,7 +128,6 @@ jobs:
profile: ${{ inputs.profile }}
pre: |
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc
options: -v $HOME/.cargo/git/db:/root/.cargo/git/db -v $HOME/.cargo/registry/cache:/root/.cargo/registry/cache -v $HOME/.cargo/registry/index:/root/.cargo/registry/index

# Windows

Expand Down
Loading