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