2019-04-30 15:33:36 +05:00
FreeBSD_task :
freebsd_instance :
2019-12-26 13:37:36 +05:00
matrix :
2020-03-04 01:18:02 +05:00
image_family : freebsd-12-1
2019-10-27 20:16:29 +05:00
only_if : $CIRRUS_BRANCH =~ 'master|next'
2019-12-26 13:37:36 +05:00
install_script :
2020-04-08 00:29:26 +05:00
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat
2019-04-30 15:33:36 +05:00
script :
- git clone https://github.com/VTest/VTest.git ../vtest
- make -C ../vtest
2020-02-11 13:20:32 +05:00
- 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
2019-04-30 15:33:36 +05:00
- ./haproxy -vv
- ldd haproxy
- env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
2019-09-02 00:03:10 +05:00
centos_6_task :
container :
image : centos:centos6
2019-10-27 20:16:29 +05:00
only_if : $CIRRUS_BRANCH =~ 'master|next'
2019-09-02 00:03:10 +05:00
script :
2019-12-26 13:37:36 +05:00
- yum install -q -y gcc git openssl-devel pcre-devel epel-release socat
2019-09-02 00:03:10 +05:00
- yum install -q -y python34
- git clone https://github.com/VTest/VTest.git ../vtest
# Special flags due to: https://github.com/vtest/VTest/issues/12
- make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
- make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
- ./haproxy -vv
- ldd haproxy
2019-09-06 23:18:14 +05:00
# remove alpn reg-test (CentOS 6 does not support alpn)
- rm reg-tests/connection/proxy_protocol_random_fail.vtc
2019-09-02 00:03:10 +05:00
- env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)