2019-01-04 17:07:09 +08:00
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 1
|
|
|
|
ARCH: amd64
|
|
|
|
|
|
|
|
task:
|
2021-08-07 08:15:56 +08:00
|
|
|
matrix:
|
|
|
|
env:
|
|
|
|
DEBUG_CONFIG: --enable-debug
|
|
|
|
env:
|
|
|
|
DEBUG_CONFIG: --disable-debug
|
|
|
|
matrix:
|
|
|
|
- env:
|
|
|
|
PROF_CONFIG: --enable-prof
|
|
|
|
- env:
|
|
|
|
PROF_CONFIG: --disable-prof
|
|
|
|
matrix:
|
|
|
|
- name: 64-bit
|
|
|
|
env:
|
|
|
|
CC:
|
|
|
|
CXX:
|
|
|
|
- name: 32-bit
|
|
|
|
env:
|
|
|
|
CC: cc -m32
|
|
|
|
CXX: c++ -m32
|
|
|
|
matrix:
|
|
|
|
- env:
|
|
|
|
UNCOMMON_CONFIG:
|
|
|
|
- env:
|
|
|
|
UNCOMMON_CONFIG: --with-lg-page=16 --with-malloc-conf=tcache:false
|
2019-01-04 17:07:09 +08:00
|
|
|
freebsd_instance:
|
|
|
|
matrix:
|
2021-02-26 02:17:44 +08:00
|
|
|
image: freebsd-12-2-release-amd64
|
2019-01-04 17:07:09 +08:00
|
|
|
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
|
2019-01-14 23:11:04 +08:00
|
|
|
- pkg install -y autoconf gmake
|
2019-01-04 17:07:09 +08:00
|
|
|
script:
|
|
|
|
- autoconf
|
2021-02-26 02:17:44 +08:00
|
|
|
# We don't perfectly track freebsd stdlib.h definitions. This is fine when
|
|
|
|
# we count as a system header, but breaks otherwise, like during these
|
|
|
|
# tests.
|
2021-08-07 08:15:56 +08:00
|
|
|
- ./configure --with-jemalloc-prefix=ci_ ${DEBUG_CONFIG} ${PROF_CONFIG} ${UNCOMMON_CONFIG}
|
2019-01-04 17:07:09 +08:00
|
|
|
- export JFLAG=`sysctl -n kern.smp.cpus`
|
|
|
|
- gmake -j${JFLAG}
|
|
|
|
- gmake -j${JFLAG} tests
|
|
|
|
- gmake check
|