Use Ninja in .builds/freebsd.yml

It's faster and doesn't require manually getting the number of CPUs
master
myfreeweb 2018-12-20 23:01:49 +03:00 committed by Andrew Kelley
parent f35ba34a88
commit fa6c7c1303
1 changed files with 3 additions and 2 deletions

View File

@ -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