2019-04-30 10:33:36 +00:00
|
|
|
FreeBSD_task:
|
|
|
|
freebsd_instance:
|
2019-12-26 08:37:36 +00:00
|
|
|
matrix:
|
2020-03-03 20:18:02 +00:00
|
|
|
image_family: freebsd-12-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:
|
2020-04-07 19:29:26 +00:00
|
|
|
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat
|
2019-04-30 10:33:36 +00:00
|
|
|
script:
|
|
|
|
- git clone https://github.com/VTest/VTest.git ../vtest
|
|
|
|
- make -C ../vtest
|
2020-02-11 08:20:32 +00: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 10:33:36 +00:00
|
|
|
- ./haproxy -vv
|
|
|
|
- ldd haproxy
|
2020-06-27 06:06:10 +00:00
|
|
|
- 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)
|
2019-04-30 10:33:36 +00:00
|
|
|
|
2019-09-01 19:03:10 +00:00
|
|
|
centos_6_task:
|
|
|
|
container:
|
|
|
|
image: centos:centos6
|
2019-10-27 15:16:29 +00:00
|
|
|
only_if: $CIRRUS_BRANCH =~ 'master|next'
|
2019-09-01 19:03:10 +00:00
|
|
|
script:
|
2019-12-26 08:37:36 +00:00
|
|
|
- yum install -q -y gcc git openssl-devel pcre-devel epel-release socat
|
2019-09-01 19:03:10 +00: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
|
2020-04-27 18:35:13 +00:00
|
|
|
# remove some reg-tests (CentOS 6 does not support alpn)
|
2020-05-27 20:50:57 +00:00
|
|
|
- rm reg-tests/{connection/proxy_protocol_random_fail,checks/tcp-check-ssl,connection/proxy_protocol_send_unique_id_alpn}.vtc
|
2020-06-27 06:06:10 +00:00
|
|
|
- env VTEST_PROGRAM=../vtest/vtest make reg-tests REGTESTS_TYPES=default,bug,devel || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
|