commit 8cf3543c800e8a04afd99951616c70fd55651e39 (tree) parent 459045aa40d64ac883d3908ddcbfcb8aa3867c0d Author: Andrew Kelley <andrew@ziglang.org> Date: Thu, 20 Dec 2018 14:18:22 -0500 Merge branch 'mgxm-srtht_fbsd' Diffstat:
| A | .builds/freebsd.yml | | | 21 | +++++++++++++++++++++ |
1 file changed, 21 insertions(+), 0 deletions(-)
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml @@ -0,0 +1,21 @@ +arch: x86_64 +image: freebsd +packages: + - cmake + - llvm70 +sources: + - https://github.com/ziglang/zig.git +tasks: + - build: | + cd zig && mkdir build && cd build + cmake .. -DCMAKE_BUILD_TYPE=Release + make -j$(sysctl -n hw.ncpu) install + - test: | + cd zig/build + bin/zig test ../test/behavior.zig + # TODO enable all tests + #bin/zig build --build-file ../build.zig test + # TODO integrate with the download page updater and make a + # static build available to download for FreeBSD. + # This will require setting up a cache of LLVM/Clang built + # statically.