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