commit a458ec9998159dcfcbb013c6202bdd123969dfaf (tree)
parent c42f7309b695a46b1718c97e79e9015311245270
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Sun, 1 Oct 2017 11:50:53 -0400
travis: older wine only works with i386 builds
Diffstat:
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/ci/travis_linux_script b/ci/travis_linux_script
@@ -1,11 +1,10 @@
#!/bin/sh
set -x
+set -e
export CC=clang-5.0
export CXX=clang++-5.0
-which $CC
-which $CXX
echo $PATH
mkdir build
cd build
@@ -14,21 +13,11 @@ make VERBOSE=1
make install
./zig build --build-file ../build.zig test
-./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc
-wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc
wine test.exe
-./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-fast
-wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast
wine test.exe
-# TODO fix bug
-# ./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-safe
-# wine64 test.exe
-
./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe
wine test.exe