Use rustup-toolchain-install-master
to install Cargo
This commit is contained in:
parent
1692932966
commit
34217bdc8e
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -77,18 +77,13 @@ jobs:
|
||||
rustup-toolchain-install-master \
|
||||
-f \
|
||||
-n master "$RUSTC_HASH" \
|
||||
-c cargo \
|
||||
-c rust-src \
|
||||
-c rustc-dev \
|
||||
-c llvm-tools \
|
||||
--host ${{ matrix.host_target }}
|
||||
rustup default master
|
||||
|
||||
# We need a nightly Cargo to run tests that depend on unstable Cargo features.
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
|
||||
- name: Show Rust version
|
||||
run: |
|
||||
rustup show
|
||||
|
@ -39,7 +39,7 @@ fi
|
||||
|
||||
# Install and setup new toolchain.
|
||||
rustup toolchain uninstall miri
|
||||
rustup-toolchain-install-master -n miri -c rust-src -c rustc-dev -c llvm-tools -- "$NEW_COMMIT"
|
||||
rustup-toolchain-install-master -n miri -c cargo -c rust-src -c rustc-dev -c llvm-tools -- "$NEW_COMMIT"
|
||||
rustup override set miri
|
||||
|
||||
# Cleanup.
|
||||
|
Loading…
Reference in New Issue
Block a user