Skip to content

Commit 917effa

Browse files
committed
CI: force using locked versions
1 parent d5003bc commit 917effa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ install:
3636
build_script:
3737
- set RUSTFLAGS=-C debug-assertions
3838
# Build and install miri
39-
- cargo build --release --all-features --all-targets
39+
- cargo build --release --all-features --all-targets --locked
4040
- cargo install --all-features --force --path . --locked --offline
4141
# Get ourselves a MIR-full libstd, and use it henceforth
4242
- cargo miri setup
@@ -46,7 +46,7 @@ test_script:
4646
- set RUST_TEST_NOCAPTURE=1
4747
- set RUST_BACKTRACE=1
4848
# Test miri
49-
- cargo test --release --all-features
49+
- cargo test --release --all-features --locked
5050
# Test cargo integration
5151
- cd test-cargo-miri
5252
- '"C:\msys64\mingw64\bin\python3.exe" run-test.py'

travis.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export RUSTC_EXTRA_FLAGS="-D warnings"
1212

1313
# Prepare
1414
echo "Build and install miri"
15-
./miri build --all-targets
16-
./miri install
15+
./miri build --all-targets --locked
16+
./miri install # implicitly locked
1717
echo
1818

1919
# Test
2020
function run_tests {
21-
./miri test
21+
./miri test --locked
2222
# "miri test" has built the sysroot for us, now this should pass without
2323
# any interactive questions.
2424
test-cargo-miri/run-test.py

0 commit comments

Comments
 (0)