mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-21 11:58:03 +00:00
1ef6cdcd26
FreeBSD-13.2 was removed from cirrus-ci, let's upgrade to 14.0, also, pcre is EOL, let's switch to pcre2. lua is updated to 5.4
19 lines
888 B
YAML
19 lines
888 B
YAML
FreeBSD_task:
|
|
freebsd_instance:
|
|
matrix:
|
|
image_family: freebsd-14-0
|
|
only_if: $CIRRUS_BRANCH =~ 'master|next'
|
|
install_script:
|
|
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua54 socat pcre2
|
|
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_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
|
|
- ./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)
|