| ... | @@ -1,11 +1,10 @@ | ... | @@ -1,11 +1,10 @@ |
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | | 2 | |
| 3 | set -x | 3 | set -x |
| | 4 | set -e |
| 4 | | 5 | |
| 5 | export CC=clang-5.0 | 6 | export CC=clang-5.0 |
| 6 | export CXX=clang++-5.0 | 7 | export CXX=clang++-5.0 |
| 7 | which $CC | | |
| 8 | which $CXX | | |
| 9 | echo $PATH | 8 | echo $PATH |
| 10 | mkdir build | 9 | mkdir build |
| 11 | cd build | 10 | cd build |
| ... | @@ -14,21 +13,11 @@ make VERBOSE=1 | ... | @@ -14,21 +13,11 @@ make VERBOSE=1 |
| 14 | make install | 13 | make install |
| 15 | ./zig build --build-file ../build.zig test | 14 | ./zig build --build-file ../build.zig test |
| 16 | | 15 | |
| 17 | ./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc | | |
| 18 | wine64 test.exe | | |
| 19 | | | |
| 20 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc | 16 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc |
| 21 | wine test.exe | 17 | wine test.exe |
| 22 | | 18 | |
| 23 | ./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-fast | | |
| 24 | wine64 test.exe | | |
| 25 | | | |
| 26 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast | 19 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast |
| 27 | wine test.exe | 20 | wine test.exe |
| 28 | | 21 | |
| 29 | # TODO fix bug | | |
| 30 | # ./zig test ../test/behavior.zig --target-os windows --target-arch x86_64 --target-environ msvc --release-safe | | |
| 31 | # wine64 test.exe | | |
| 32 | | | |
| 33 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe | 22 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe |
| 34 | wine test.exe | 23 | wine test.exe |