Skip to contentSkip to conversation

cirrus-ci support

PATCH In review [email protected]... 2 participants 3 messages Apr 11, 2019 – Apr 16, 2019

lore
Share & tools
lore
#0 lore raw

cover cirrus-ci support

From: Ilya Shipitsin <[email protected]...>

Added initial support for FreeBSD builds

Ilya Shipitsin (1):
initial cirrus-ci support

 .cirrus.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 .cirrus.yml
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 initial cirrus-ci support

From: Ilya Shipitsin <[email protected]...>

enabled FreeBSD 12.0 builds

---
 .cirrus.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 .cirrus.yml
.cirrus.yml new file +24 -0
new file mode 100644
index 00000000..955b8de0
@@ -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
Signature · 1 line
2.20.1
#2 lore raw

Re: [Openvpn-devel] [PATCH 1/1] initial cirrus-ci support

Quoted 5 lines · On 11/04/2019 22:51, [email protected]... wrote:

From: Ilya Shipitsin <[email protected]...>

enabled FreeBSD 12.0 builds

Hey,

Just wondering about the value of adding yet another CI into the mix we have? We have Travis and buildbot.

Travis doesn't handle all the *BSD flavours but gives us Windows. Our buildbot setup does Linux (CentOS, Fedora, Ubuntu, Arch), macOS, FreeBSD (7.4, 9.0, 10.3, 11), NetBSD (5.1, 7.0), OpenBSD (4.9, 6.0), OpenSolaris 10 ... I might have overlooked a few.

The sum of this seems far more than what cirrus-ci provides. So I really wonder about the value here. You can always argue that it's just a text file laying there if not being used, but we also want to avoid "dead files" in our repository.

Signature · 4 lines
kind regards,

David Sommerseth
OpenVPN Inc