]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: enable freebsd builds on cirrus-ci
authorIlya Shipitsin <chipitsine@gmail.com>
Tue, 30 Apr 2019 10:33:36 +0000 (15:33 +0500)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 May 2019 07:27:51 +0000 (09:27 +0200)
.cirrus.yml [new file with mode: 0644]

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644 (file)
index 0000000..fe061c2
--- /dev/null
@@ -0,0 +1,14 @@
+FreeBSD_task:
+  freebsd_instance:
+    image: freebsd-12-0-release-amd64
+  env:
+    ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation
+  script:
+    - pkg install openssl111 git gmake lua53
+    - git clone https://github.com/VTest/VTest.git ../vtest
+    - make -C ../vtest
+    - 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
+    - ./haproxy -vv
+    - 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)
+