Merge branch 'mgxm-srtht_fbsd'

master
Andrew Kelley 2018-12-20 14:18:22 -05:00
commit 8cf3543c80
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
1 changed files with 21 additions and 0 deletions

21
.builds/freebsd.yml Normal file
View File

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