CI: FreeBSD: upgrade image, packages

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
This commit is contained in:
Ilia Shipitsin 2024-06-03 20:16:04 +02:00 committed by William Lallemand
parent a63f2cde94
commit 1ef6cdcd26
1 changed files with 3 additions and 3 deletions

View File

@ -1,15 +1,15 @@
FreeBSD_task: FreeBSD_task:
freebsd_instance: freebsd_instance:
matrix: matrix:
image_family: freebsd-13-2 image_family: freebsd-14-0
only_if: $CIRRUS_BRANCH =~ 'master|next' only_if: $CIRRUS_BRANCH =~ 'master|next'
install_script: install_script:
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat pcre - pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua54 socat pcre2
script: script:
- sudo sysctl kern.corefile=/tmp/%N.%P.core - sudo sysctl kern.corefile=/tmp/%N.%P.core
- sudo sysctl kern.sugid_coredump=1 - sudo sysctl kern.sugid_coredump=1
- scripts/build-vtest.sh - 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 - 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 - ./haproxy -vv
- ldd haproxy - ldd haproxy
test_script: test_script: