| ... | @@ -8,8 +8,14 @@ sources: | ... | @@ -8,8 +8,14 @@ sources: |
| 8 | tasks: | 8 | tasks: |
| 9 | - build: | | 9 | - build: | |
| 10 | cd zig && mkdir build && cd build | 10 | cd zig && mkdir build && cd build |
| 11 | cmake .. | 11 | cmake .. -DCMAKE_BUILD_TYPE=Release |
| 12 | make && make install | 12 | make -j$(sysctl -n hw.ncpu) install |
| 13 | - test: | | 13 | - test: | |
| 14 | cd zig && cd build | 14 | cd zig/build |
| 15 | ./bin/zig build --build-file ../build.zig test | 15 | bin/zig test ../test/behavior.zig |
| | 16 | # TODO enable all tests |
| | 17 | #bin/zig build --build-file ../build.zig test |
| | 18 | # TODO integrate with the download page updater and make a |
| | 19 | # static build available to download for FreeBSD. |
| | 20 | # This will require setting up a cache of LLVM/Clang built |
| | 21 | # statically. |