blob: e4278c2ce349e352d02393440f8b6d772f5f07cb [file] [log] [blame]
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05001FreeBSD_task:
2 freebsd_instance:
3 image: freebsd-12-0-release-amd64
Ilya Shipitsin632cae22019-10-27 20:16:29 +05004 only_if: $CIRRUS_BRANCH =~ 'master|next'
Ilya Shipitsinb396f4d2019-04-30 15:33:36 +05005 env:
6 ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation
7 script:
8 - pkg install openssl111 git gmake lua53
9 - git clone https://github.com/VTest/VTest.git ../vtest
10 - make -C ../vtest
11 - 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
12 - ./haproxy -vv
13 - ldd haproxy
14 - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
15
Ilya Shipitsinc886e592019-09-02 00:03:10 +050016centos_6_task:
17 container:
18 image: centos:centos6
Ilya Shipitsin632cae22019-10-27 20:16:29 +050019 only_if: $CIRRUS_BRANCH =~ 'master|next'
Ilya Shipitsinc886e592019-09-02 00:03:10 +050020 script:
21 - yum install -q -y gcc git openssl-devel pcre-devel epel-release
22 - yum install -q -y python34
23 - git clone https://github.com/VTest/VTest.git ../vtest
24 # Special flags due to: https://github.com/vtest/VTest/issues/12
25 - make -C ../vtest FLAGS="-O2 -s -Wall -lrt"
26 - make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1
27 - ./haproxy -vv
28 - ldd haproxy
Ilya Shipitsinbd99f6d2019-09-06 23:18:14 +050029 # remove alpn reg-test (CentOS 6 does not support alpn)
30 - rm reg-tests/connection/proxy_protocol_random_fail.vtc
Ilya Shipitsinc886e592019-09-02 00:03:10 +050031 - env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)