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