Ilya Shipitsin | b396f4d | 2019-04-30 15:33:36 +0500 | [diff] [blame] | 1 | FreeBSD_task: |
| 2 | freebsd_instance: |
Ilya Shipitsin | 125ad1f | 2019-12-26 13:37:36 +0500 | [diff] [blame] | 3 | matrix: |
| 4 | image_family: freebsd-12-1 |
| 5 | image_family: freebsd-11-3-snap |
Ilya Shipitsin | 632cae2 | 2019-10-27 20:16:29 +0500 | [diff] [blame] | 6 | only_if: $CIRRUS_BRANCH =~ 'master|next' |
Ilya Shipitsin | 125ad1f | 2019-12-26 13:37:36 +0500 | [diff] [blame] | 7 | install_script: |
| 8 | - pkg install -y openssl111 git gmake lua53 socat |
Ilya Shipitsin | b396f4d | 2019-04-30 15:33:36 +0500 | [diff] [blame] | 9 | script: |
Ilya Shipitsin | b396f4d | 2019-04-30 15:33:36 +0500 | [diff] [blame] | 10 | - git clone https://github.com/VTest/VTest.git ../vtest |
| 11 | - make -C ../vtest |
| 12 | - 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 |
| 13 | - ./haproxy -vv |
| 14 | - ldd haproxy |
| 15 | - env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1) |
| 16 | |
Ilya Shipitsin | c886e59 | 2019-09-02 00:03:10 +0500 | [diff] [blame] | 17 | centos_6_task: |
| 18 | container: |
| 19 | image: centos:centos6 |
Ilya Shipitsin | 632cae2 | 2019-10-27 20:16:29 +0500 | [diff] [blame] | 20 | only_if: $CIRRUS_BRANCH =~ 'master|next' |
Ilya Shipitsin | c886e59 | 2019-09-02 00:03:10 +0500 | [diff] [blame] | 21 | script: |
Ilya Shipitsin | 125ad1f | 2019-12-26 13:37:36 +0500 | [diff] [blame] | 22 | - yum install -q -y gcc git openssl-devel pcre-devel epel-release socat |
Ilya Shipitsin | c886e59 | 2019-09-02 00:03:10 +0500 | [diff] [blame] | 23 | - yum install -q -y python34 |
| 24 | - git clone https://github.com/VTest/VTest.git ../vtest |
| 25 | # Special flags due to: https://github.com/vtest/VTest/issues/12 |
| 26 | - make -C ../vtest FLAGS="-O2 -s -Wall -lrt" |
| 27 | - make CC=cc V=1 TARGET=linux-glibc-legacy USE_ZLIB=1 USE_PCRE=1 USE_OPENSSL=1 |
| 28 | - ./haproxy -vv |
| 29 | - ldd haproxy |
Ilya Shipitsin | bd99f6d | 2019-09-06 23:18:14 +0500 | [diff] [blame] | 30 | # remove alpn reg-test (CentOS 6 does not support alpn) |
| 31 | - rm reg-tests/connection/proxy_protocol_random_fail.vtc |
Ilya Shipitsin | c886e59 | 2019-09-02 00:03:10 +0500 | [diff] [blame] | 32 | - env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1) |