Skip to content

Commit 82fe771

Browse files
committed
also cross-test Windows from Linux, macOS
1 parent 78fe528 commit 82fe771

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

travis.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ function run_tests {
3535
run_tests
3636
# cross-test 32bit Linux from everywhere
3737
MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests
38+
3839
if [ "$TRAVIS_OS_NAME" == linux ]; then
3940
# cross-test 64bit macOS from Linux
4041
FOREIGN_TARGET=x86_64-apple-darwin run_tests
42+
# cross-test 32bit Windows from Linux
43+
FOREIGN_TARGET=i686-pc-windows-msvc run_tests
44+
elif [ "$TRAVIS_OS_NAME" == osx ]; then
45+
# cross-test 64bit Windows from macOS
46+
FOREIGN_TARGET=x86_64-pc-windows-msvc run_tests
4147
fi

0 commit comments

Comments
 (0)