2020-10-21 13:12:29 +03:00
dist : focal
2019-04-17 10:41:13 +03:00
language : c
2019-10-17 07:53:55 +03:00
branches :
only :
- master
2019-05-03 12:31:20 +03:00
env :
global :
2021-04-09 21:21:35 +03:00
- FLAGS="USE_LUA=1 USE_OPENSSL=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_SYSTEMD=1 USE_ZLIB=1"
2019-05-10 13:38:52 +03:00
- TMPDIR=/tmp
2019-05-03 12:31:20 +03:00
2019-04-24 17:11:09 +03:00
addons :
apt :
2020-01-19 10:14:02 +03:00
update : true
2021-04-09 21:21:35 +03:00
packages : [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, socat, libpcre3-dev ]
2019-05-06 23:42:43 +03:00
2019-04-17 10:41:13 +03:00
matrix :
include :
2020-01-19 10:14:02 +03:00
- os : linux
arch : ppc64le
2019-05-03 12:31:20 +03:00
compiler : gcc
2021-04-09 21:21:35 +03:00
if : type == cron
2020-05-07 18:57:26 +03:00
- os : linux
arch : arm64
2020-03-13 06:10:31 +03:00
compiler : gcc
2019-08-19 19:32:53 +03:00
if : type == cron
2021-04-15 17:16:09 +03:00
- os : linux
arch : arm64-graviton2
group : edge
virt : vm
compiler : gcc
if : type == cron
2019-09-19 21:32:30 +03:00
- os : linux
2021-04-09 21:21:35 +03:00
arch : s390x
compiler : gcc
2019-09-19 21:32:30 +03:00
if : type == cron
2019-04-17 10:41:13 +03:00
install :
- git clone https://github.com/VTest/VTest.git ../vtest
2019-04-24 17:11:09 +03:00
# Special flags due to: https://github.com/vtest/VTest/issues/12
2021-05-12 22:08:49 +03:00
- make -C ../vtest FLAGS="-O2 -s -Wall"
2019-04-24 17:11:09 +03:00
2019-04-17 10:41:13 +03:00
script :
2021-04-09 21:21:35 +03:00
- make -j$(nproc) ERR=1 TARGET=linux-glibc CC=$CC DEBUG=-DDEBUG_STRICT=1 $FLAGS
2019-04-24 17:11:09 +03:00
- ./haproxy -vv
2021-04-09 21:21:35 +03:00
- ldd haproxy
2020-01-24 19:37:35 +03:00
- make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
2019-04-24 17:11:09 +03:00
after_failure :
- |
2019-05-10 13:38:52 +03:00
for folder in ${TMPDIR}/*regtest*/vtc.*; do
2019-04-24 17:11:09 +03:00
cat $folder/INFO
cat $folder/LOG
done