forked from haproxy/haproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
31 lines (30 loc) · 1.45 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FreeBSD_task:
freebsd_instance:
matrix:
image_family: freebsd-12-1
only_if: $CIRRUS_BRANCH =~ 'master|next'
install_script:
- pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat
script:
- git clone https://github.com/VTest/VTest.git ../vtest
- make -C ../vtest
- 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
- ./haproxy -vv
- ldd haproxy
- env VTEST_PROGRAM=../vtest/vtest gmake reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)
centos_6_task:
container:
image: centos:centos6
only_if: $CIRRUS_BRANCH =~ 'master|next'
script:
- yum install -q -y gcc git openssl-devel pcre-devel epel-release socat
- 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
# remove some reg-tests (CentOS 6 does not support alpn)
- rm reg-tests/connection/proxy_protocol_random_fail.vtc reg-tests/checks/tcp-check-ssl.vtc
- env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)