Skip to content

Commit

Permalink
Add --no-self-update to rustup commands in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave committed Jul 19, 2020
1 parent 8bfa87e commit 1353def
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
${{ runner.os }}-
- name: cargo test
run: |
rustup update
rustup update --no-self-update
cargo test --release --no-default-features --features=testing -- --nocapture
examples:
name: Example Tests
Expand All @@ -58,7 +58,7 @@ jobs:
${{ runner.os }}-
- name: example tests
run: |
rustup update
rustup update --no-self-update
cargo run --example playground
cargo run --example structured
cross-compile:
Expand Down
4 changes: 2 additions & 2 deletions scripts/cross_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ targets="wasm32-wasi wasm32-unknown-unknown aarch64-fuchsia aarch64-linux-androi
x86_64-linux-android x86_64-fuchsia \
mips-unknown-linux-musl aarch64-apple-ios"

rustup update
rustup update --no-self-update

RUSTFLAGS="--cfg miri" cargo check

rustup toolchain install 1.39.0
rustup toolchain install 1.39.0 --no-self-update
cargo clean
rm Cargo.lock
cargo +1.39.0 check
Expand Down
4 changes: 2 additions & 2 deletions scripts/sanitizers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -eo pipefail

pushd benchmarks/stress2

rustup toolchain install nightly
rustup update
rustup toolchain install nightly --no-self-update
rustup update --no-self-update

export SLED_LOCK_FREE_DELAY_INTENSITY=2000

Expand Down

0 comments on commit 1353def

Please sign in to comment.