]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: CI: add basic CentOS 6 cirrus build
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 1 Sep 2019 19:03:10 +0000 (00:03 +0500)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Sep 2019 09:44:08 +0000 (11:44 +0200)
.cirrus.yml

index fe061c238229388c88d4e163f6c6e4c2b28e34e5..095e27b0d97c466939d14fb235b70ac8ba72b00c 100644 (file)
@@ -12,3 +12,16 @@ FreeBSD_task:
     - 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
+  script:
+    - yum install -q -y gcc git openssl-devel pcre-devel epel-release
+    - 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
+    - env VTEST_PROGRAM=../vtest/vtest make reg-tests || (for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done && exit 1)