From: Ilya Shipitsin <chipits...@gmail.com>

enabled FreeBSD 12.0 builds

Signed-off-by: Ilya Shipitsin <chipits...@gmail.com>
---
 .cirrus.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 .cirrus.yml

diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 00000000..955b8de0
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,24 @@
+FreeBSD_task:
+  freebsd_instance:
+    image: freebsd-12-0-release-amd64
+  env:
+    ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation
+    LZO_CFLAGS: '-I/usr/local/include'
+    LZO_LIBS: '-llzo2 -L/usr/local/lib'
+    LZ4_CFLAGS: '-I/usr/local/include'
+    LZ4_LIBS: '-llz4 -L/usr/local/lib'
+    MBEDTLS_CFLAGS: '-I/usr/local/include'
+    MBEDTLS_LIBS: '-lmbedtls -lmbedx509 -lmbedcrypto -L/usr/local/lib'
+    matrix:
+      - SSLLIB: openssl
+      - SSLLIB: mbedtls
+  install_script:
+    - pkg install cmake gmake openssl111 mbedtls git autoconf automake libtool
+    - git submodule update --init --recursive
+  script:
+    - autoreconf -iv
+    - ./configure --with-crypto-library=${SSLLIB}
+    - make
+    - src/openvpn/openvpn --version || true
+    - ldd src/openvpn/openvpn
+    - make check
-- 
2.20.1



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to