summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 0000000..4bf3fb6
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,18 @@
+FreeBSD_task:
+ freebsd_instance:
+ matrix:
+ image_family: freebsd-13-2
+ only_if: $CIRRUS_BRANCH =~ 'master|next'
+ install_script:
+ - pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat pcre
+ script:
+ - sudo sysctl kern.corefile=/tmp/%N.%P.core
+ - sudo sysctl kern.sugid_coredump=1
+ - scripts/build-vtest.sh
+ - gmake CC=clang V=1 ERR=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua53 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.3
+ - ./haproxy -vv
+ - ldd haproxy
+ test_script:
+ - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests REGTESTS_TYPES=default,bug,devel
+ on_failure:
+ debug_script: (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && ls /tmp/haproxy.*.core && gdb -ex 'thread apply all bt full' ./haproxy /tmp/haproxy.*.core)