2019-04-30 10:33:36 +00:00
|
|
|
FreeBSD_task:
|
|
|
|
freebsd_instance:
|
2019-12-26 08:37:36 +00:00
|
|
|
matrix:
|
2024-10-14 12:28:26 +00:00
|
|
|
image_family: freebsd-14-1
|
2019-10-27 15:16:29 +00:00
|
|
|
only_if: $CIRRUS_BRANCH =~ 'master|next'
|
2019-12-26 08:37:36 +00:00
|
|
|
install_script:
|
2024-06-03 18:16:04 +00:00
|
|
|
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua54 socat pcre2
|
2019-04-30 10:33:36 +00:00
|
|
|
script:
|
2023-09-08 20:57:10 +00:00
|
|
|
- sudo sysctl kern.corefile=/tmp/%N.%P.core
|
|
|
|
- sudo sysctl kern.sugid_coredump=1
|
2021-05-15 06:46:15 +00:00
|
|
|
- scripts/build-vtest.sh
|
2024-06-03 18:16:04 +00:00
|
|
|
- gmake CC=clang V=1 ERR=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua54 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.4
|
2019-04-30 10:33:36 +00:00
|
|
|
- ./haproxy -vv
|
|
|
|
- ldd haproxy
|
2023-09-08 20:57:10 +00:00
|
|
|
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)
|