blob: fdabfdcddbfaac8a61f28bdac80bbe2ddfd2b7d9 [file] [log] [blame]
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05001FreeBSD_task:
2 freebsd_instance:
Ilya Shipitsin125ad1f2019-12-26 13:37:36 +05003 matrix:
Ilya Shipitsin4d838c42021-02-11 23:32:30 +05004 image_family: freebsd-12-2
Ilya Shipitsin632cae22019-10-27 20:16:29 +05005 only_if: $CIRRUS_BRANCH =~ 'master|next'
Ilya Shipitsin125ad1f2019-12-26 13:37:36 +05006 install_script:
Ilya Shipitsinc037fcf2021-04-14 21:47:34 +05007 - pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat pcre
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05008 script:
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05009 - git clone https://github.com/VTest/VTest.git ../vtest
10 - make -C ../vtest
Ilya Shipitsin4550e872020-02-11 13:20:32 +050011 - 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
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +050012 - ./haproxy -vv
13 - ldd haproxy
Ilya Shipitsin95d8af72020-06-27 11:06:10 +050014 - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests REGTESTS_TYPES=default,bug,devel || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)