@@ -2,7 +2,6 @@ environment:
2
2
global :
3
3
PROJECT_NAME : miri
4
4
matrix :
5
- - TARGET : x86_64-pc-windows-msvc
6
5
- TARGET : i686-pc-windows-msvc
7
6
8
7
# branches to build
@@ -43,18 +42,33 @@ build_script:
43
42
# Build and install miri
44
43
- cargo build --release --all-features --all-targets --locked
45
44
- cargo install --all-features --force --path . --locked --offline
46
- # Get ourselves a MIR-full libstd, and use it henceforth
47
- - cargo miri setup
48
- - set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache\HOST
49
45
50
46
test_script :
51
47
- set RUST_TEST_NOCAPTURE=1
52
48
- set RUST_BACKTRACE=1
53
- # Test miri
49
+ # Test host miri: 32bit Windows
50
+ - cargo miri setup
51
+ - set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache\HOST
52
+ - cargo test --release --all-features --locked
53
+ - cd test-cargo-miri
54
+ - ' "C:\msys64\mingw64\bin\python3.exe" run-test.py'
55
+ - cd ..
56
+ # Test foreign miri: 64bit Linux
57
+ - cargo miri setup --target x86_64-unknown-linux-gnu
58
+ - set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache
59
+ - set MIRI_TEST_TARGET=x86_64-unknown-linux-gnu
60
+ - cargo test --release --all-features --locked
61
+ - cd test-cargo-miri
62
+ - ' "C:\msys64\mingw64\bin\python3.exe" run-test.py'
63
+ - cd ..
64
+ # Test foreign miri: 64bit macOS
65
+ - cargo miri setup --target x86_64-apple-darwin
66
+ - set MIRI_SYSROOT=%USERPROFILE%\AppData\Local\rust-lang\miri\cache
67
+ - set MIRI_TEST_TARGET=x86_64-apple-darwin
54
68
- cargo test --release --all-features --locked
55
- # Test cargo integration
56
69
- cd test-cargo-miri
57
70
- ' "C:\msys64\mingw64\bin\python3.exe" run-test.py'
71
+ - cd ..
58
72
59
73
after_test :
60
74
# Don't cache "master" toolchain, it's a waste
0 commit comments