aboutsummaryrefslogtreecommitdiff
path: root/ci/travis_linux_script
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-01 11:11:38 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-01 11:11:38 -0400
commit6ae631d1a74e6918a67f55217a2581c65672b4dc (patch)
tree1359a3d8bb59e5b2258d00eb71f8907d271edfb4 /ci/travis_linux_script
parent5e6fc94b7f43dda028de779a874f12591fa0a50d (diff)
downloadzig-6ae631d1a74e6918a67f55217a2581c65672b4dc.tar.gz
zig-6ae631d1a74e6918a67f55217a2581c65672b4dc.zip
add windows 32 bit to test matrix
See #302
Diffstat (limited to 'ci/travis_linux_script')
-rwxr-xr-xci/travis_linux_script19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/travis_linux_script b/ci/travis_linux_script
index d841127fbf..a226bba947 100755
--- a/ci/travis_linux_script
+++ b/ci/travis_linux_script
@@ -13,3 +13,22 @@ cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $($CC -print
make VERBOSE=1
make install
./zig build --build-file ../build.zig test
+
+./zig test ../std/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc
+wine64 test.exe
+
+./zig test ../std/behavior.zig --target-os windows --target-arch i386 --target-environ msvc
+wine test.exe
+
+./zig test ../std/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-fast
+wine64 test.exe
+
+./zig test ../std/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast
+wine test.exe
+
+# TODO fix bug
+# ./zig test ../std/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-safe
+# wine64 test.exe
+
+./zig test ../std/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe
+wine test.exe