build: add Cirrus-CI config for testing FreeBSD (#139)

awsm
Li-Wen Hsu 6 years ago committed by Samy Al Bahra
parent 7eff0db959
commit 00c87a6094

@ -0,0 +1,14 @@
env:
CIRRUS_CLONE_DEPTH: 1
ARCH: amd64
task:
freebsd_instance:
matrix:
image: freebsd-12-0-release-amd64
image: freebsd-11-2-release-amd64
script:
- cc --version
- export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24"
- ./tools/ci-build.sh --cores=$(sysctl -n hw.ncpu)
- make check

@ -5,5 +5,8 @@
set -x
./configure $@
make -j
if [ `uname -s` = "FreeBSD" ]; then
make -j $(sysctl -n hw.ncpu)
else
make -j
fi

Loading…
Cancel
Save