From 82fe7716765c665565ff668c440303fe21345890 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 21 Mar 2020 23:26:44 +0100 Subject: [PATCH] also cross-test Windows from Linux, macOS --- travis.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/travis.sh b/travis.sh index 4988c0e76ff6..e9fa3b6c1aed 100755 --- a/travis.sh +++ b/travis.sh @@ -35,7 +35,13 @@ function run_tests { run_tests # cross-test 32bit Linux from everywhere MIRI_TEST_TARGET=i686-unknown-linux-gnu run_tests + if [ "$TRAVIS_OS_NAME" == linux ]; then # cross-test 64bit macOS from Linux FOREIGN_TARGET=x86_64-apple-darwin run_tests + # cross-test 32bit Windows from Linux + FOREIGN_TARGET=i686-pc-windows-msvc run_tests +elif [ "$TRAVIS_OS_NAME" == osx ]; then + # cross-test 64bit Windows from macOS + FOREIGN_TARGET=x86_64-pc-windows-msvc run_tests fi