Home | History | Annotate | Line # | Download | only in dist
      1 env:
      2   CIRRUS_CLONE_DEPTH: 1
      3   ARCH: amd64
      4 
      5 task:
      6   matrix:
      7       env:
      8         DEBUG_CONFIG: --enable-debug
      9       env:
     10         DEBUG_CONFIG: --disable-debug
     11   matrix:
     12     - env:
     13         PROF_CONFIG: --enable-prof
     14     - env:
     15         PROF_CONFIG: --disable-prof
     16   matrix:
     17     - name: 64-bit
     18       env:
     19         CC:
     20         CXX:
     21     - name: 32-bit
     22       env:
     23         CC: cc -m32
     24         CXX: c++ -m32
     25   matrix:
     26     - env:
     27         UNCOMMON_CONFIG:
     28     - env:
     29         UNCOMMON_CONFIG: --with-lg-page=16 --with-malloc-conf=tcache:false
     30   freebsd_instance:
     31     matrix:
     32       image: freebsd-12-3-release-amd64
     33   install_script:
     34     - sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
     35     - pkg upgrade -y
     36     - pkg install -y autoconf gmake
     37   script:
     38     - autoconf
     39     # We don't perfectly track freebsd stdlib.h definitions.  This is fine when
     40     # we count as a system header, but breaks otherwise, like during these
     41     # tests.
     42     - ./configure --with-jemalloc-prefix=ci_ ${DEBUG_CONFIG} ${PROF_CONFIG} ${UNCOMMON_CONFIG}
     43     - export JFLAG=`sysctl -n kern.smp.cpus`
     44     - gmake -j${JFLAG}
     45     - gmake -j${JFLAG} tests
     46     - gmake check
     47