blob: 4143e687bfed5357f3b42b65e7715a4d2432c635 [file] [log] [blame]
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05001FreeBSD_task:
2 freebsd_instance:
Ilya Shipitsin125ad1f2019-12-26 13:37:36 +05003 matrix:
4 image_family: freebsd-12-1
5 image_family: freebsd-11-3-snap
Ilya Shipitsin632cae22019-10-27 20:16:29 +05006 only_if: $CIRRUS_BRANCH =~ 'master|next'
Ilya Shipitsin125ad1f2019-12-26 13:37:36 +05007 install_script:
Ilya Shipitsind9514b62020-01-07 23:41:24 +05008 - case `uname -r` in
9 11.3*)
10 export SSL=openssl;;
11 12.1*)
12 export SSL=openssl111;;
13 esac
14 - pkg install -y $SSL git gmake lua53 socat
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +050015 script:
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +050016 - git clone https://github.com/VTest/VTest.git ../vtest
17 - make -C ../vtest
18 - gmake CC=clang V=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
19 - ./haproxy -vv
20 - ldd haproxy
21 - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
22
Ilya Shipitsinc886e592019-09-02 00:03:10 +050023centos_6_task:
24 container:
25 image: centos:centos6
Ilya Shipitsin632cae22019-10-27 20:16:29 +050026 only_if: $CIRRUS_BRANCH =~ 'master|next'
Ilya Shipitsinc886e592019-09-02 00:03:10 +050027 script:
Ilya Shipitsin125ad1f2019-12-26 13:37:36 +050028 - yum install -q -y gcc git openssl-devel pcre-devel epel-release socat
Ilya Shipitsinc886e592019-09-02 00:03:10 +050029 - yum install -q -y python34
30 - git clone https://github.com/VTest/VTest.git ../vtest
31 # Special flags due to: https://github.com/vtest/VTest/issues/12
32 - make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
33 - make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
34 - ./haproxy -vv
35 - ldd haproxy
Ilya Shipitsinbd99f6d2019-09-06 23:18:14 +050036 # remove alpn reg-test (CentOS 6 does not support alpn)
37 - rm reg-tests/connection/proxy_protocol_random_fail.vtc
Ilya Shipitsinc886e592019-09-02 00:03:10 +050038 - env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)