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