| ... | ... | @@ -1,11 +1,10 @@ |
| 1 | 1 | #!/bin/sh |
| 2 | 2 | |
| 3 | 3 | set -x |
| 4 | set -e |
| 4 | 5 | |
| 5 | 6 | export CC=clang-5.0 |
| 6 | 7 | export CXX=clang++-5.0 |
| 7 | | which $CC |
| 8 | | which $CXX |
| 9 | 8 | echo $PATH |
| 10 | 9 | mkdir build |
| 11 | 10 | cd build |
| ... | ... | @@ -14,21 +13,11 @@ make VERBOSE=1 |
| 14 | 13 | make install |
| 15 | 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 | 16 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc |
| 21 | 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 | 19 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-fast |
| 27 | 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 | 22 | ./zig test ../test/behavior.zig --target-os windows --target-arch i386 --target-environ msvc --release-safe |
| 34 | 23 | wine test.exe |