Commit fa6c7c1303

myfreeweb <greg@unrelenting.technology>
2018-12-20 21:01:49
Use Ninja in .builds/freebsd.yml
It's faster and doesn't require manually getting the number of CPUs
1 parent f35ba34
Changed files (1)
.builds
.builds/freebsd.yml
@@ -2,14 +2,15 @@ arch: x86_64
 image: freebsd
 packages:
   - cmake
+  - ninja
   - 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
+      cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
+      ninja install
   - test: |
       cd zig/build
       bin/zig test ../test/behavior.zig