.cirrus.yml 1.2 KB

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