| ... | ... | @@ -18,13 +18,45 @@ cd build |
| 18 | 18 | cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON |
| 19 | 19 | make $JOBS install |
| 20 | 20 | |
| 21 | | # TODO test everything. right now it's skipping stuff including docs |
| 22 | | # because for some reason @cImport is failing on the CI server. |
| 23 | | release/bin/zig build --build-file ../build.zig test-behavior -Dskip-release |
| 21 | release/bin/zig build test-fmt |
| 22 | release/bin/zig build test-behavior |
| 23 | |
| 24 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 25 | # See https://github.com/ziglang/zig/issues/3210 |
| 26 | # release/bin/zig build test-std |
| 27 | |
| 28 | release/bin/zig build test-compiler-rt |
| 29 | |
| 30 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 31 | # See https://github.com/ziglang/zig/issues/3210 |
| 32 | # release/bin/zig build test-compare-output |
| 33 | |
| 34 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 35 | # See https://github.com/ziglang/zig/issues/3210 |
| 36 | # release/bin/zig build test-standalone |
| 37 | |
| 38 | release/bin/zig build test-stack-traces |
| 39 | release/bin/zig build test-cli |
| 40 | release/bin/zig build test-asm-link |
| 41 | release/bin/zig build test-runtime-safety |
| 42 | |
| 43 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 44 | # See https://github.com/ziglang/zig/issues/3210 |
| 45 | # release/bin/zig build test-translate-c |
| 46 | |
| 47 | release/bin/zig build test-gen-h |
| 48 | |
| 49 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 50 | # See https://github.com/ziglang/zig/issues/3210 |
| 51 | # release/bin/zig build test-compile-errors |
| 52 | |
| 53 | # This test is disabled because it triggers "out of memory" on the sr.ht CI service. |
| 54 | # See https://github.com/ziglang/zig/issues/3210 |
| 55 | # release/bin/zig build docs |
| 24 | 56 | |
| 25 | 57 | if [ -f ~/.s3cfg ]; then |
| 26 | 58 | mv ../LICENSE release/ |
| 27 | | # TODO re-enable this |
| 59 | # Enable when `release/bin/zig build docs` passes without "out of memory" or failures |
| 28 | 60 | #mv ../zig-cache/langref.html release/ |
| 29 | 61 | mv release/bin/zig release/ |
| 30 | 62 | rmdir release/bin |