diff options
author | Li-Wen Hsu <lwhsu@lwhsu.org> | 2019-01-04 09:07:09 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2019-01-10 23:14:33 (GMT) |
commit | 6910fcb208e2703f72bcbfbd1db22426d02b1e27 (patch) | |
tree | b146d54124947db8cbf58d5d3adb9875be227295 | |
parent | 471191075d6a88eb1364fb5f332237eb3d512872 (diff) | |
download | jemalloc-6910fcb208e2703f72bcbfbd1db22426d02b1e27.zip jemalloc-6910fcb208e2703f72bcbfbd1db22426d02b1e27.tar.gz jemalloc-6910fcb208e2703f72bcbfbd1db22426d02b1e27.tar.bz2 |
Add Cirrus-CI config for FreeBSD builds
-rw-r--r-- | .cirrus.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..019d2c3 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,21 @@ +env: + CIRRUS_CLONE_DEPTH: 1 + ARCH: amd64 + +task: + freebsd_instance: + matrix: + image: freebsd-12-0-release-amd64 + image: freebsd-11-2-release-amd64 + install_script: + - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf + - pkg upgrade -y + - pkg install -y autoconf gmake + script: + - autoconf + #- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS + - ./configure + - export JFLAG=`sysctl -n kern.smp.cpus` + - gmake -j${JFLAG} + - gmake -j${JFLAG} tests + - gmake check |