travis: older wine only works with i386 builds

master
Andrew Kelley 2017-10-01 11:50:53 -04:00
parent c42f7309b6
commit a458ec9998
1 changed files with 1 additions and 12 deletions

View File

@ -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