aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2018-12-20 13:05:34 -0500
committerAndrew Kelley <andrew@ziglang.org>2018-12-20 14:18:02 -0500
commit2a776ed8a8ff9220e316cb91fbfb49f23edee0d1 (patch)
tree6527d6f8e4e1372393d4e3c15d7f039c9c835098
parent48406009889c0e77052b57bc0220a332d3ea5cbd (diff)
downloadzig-2a776ed8a8ff9220e316cb91fbfb49f23edee0d1.tar.gz
zig-2a776ed8a8ff9220e316cb91fbfb49f23edee0d1.zip
ci: only run the debug behavior tests for FreeBSD
-rw-r--r--.builds/freebsd.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index e293561c23..80b50841a9 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -8,8 +8,14 @@ sources:
tasks:
- build: |
cd zig && mkdir build && cd build
- cmake ..
- make && make install
+ cmake .. -DCMAKE_BUILD_TYPE=Release
+ make -j$(sysctl -n hw.ncpu) install
- test: |
- cd zig && cd build
- ./bin/zig build --build-file ../build.zig 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.