| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | #!/bin/sh |
| 2 | 2 | |
| 3 | 3 | set -x |
| 4 | set -e |
| 4 | 5 | |
| 5 | 6 | mkdir build |
| 6 | 7 | cd build |
| ... | ... | @@ -8,6 +9,11 @@ cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@5/ -DCMAKE_INSTALL_PREFIX=$(pwd |
| 8 | 9 | make VERBOSE=1 |
| 9 | 10 | make install |
| 10 | 11 | |
| 12 | # TODO: we run the tests separately because when run all together there is some |
| 13 | # mysterious issue where after N child process spawns it crashes. I've been |
| 14 | # unable to reproduce the issue on my macbook - it only happens on Travis. |
| 15 | # ./zig build --build-file ../build.zig test |
| 16 | |
| 11 | 17 | ./zig build --build-file ../build.zig test-behavior --verbose |
| 12 | 18 | ./zig build --build-file ../build.zig test-std --verbose |
| 13 | 19 | ./zig build --build-file ../build.zig test-compiler-rt --verbose |