From: Antonio Quartulli
Date: Fri, 21 Jan 2022 13:39:00 +0000 (+0100)
Subject: GitHub Actions: add other config flavours
X-Git-Tag: v2.6_beta1~310
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ee0997abd0642c4c4a6135573beba647d982f7c;p=thirdparty%2Fopenvpn.git
GitHub Actions: add other config flavours
In the past we had issues with patches accidentally breaking less common
OpenVPN configurations. For this reason it makes sense to some of those
configurations build via CI.
Adding:
* --enable-iproute2
* --enable-async-push
* --disable-management
* --enable-small
* --disable-lzo --disable-lz4
These flavours are all built on Ubuntu 20.04 with OpenSSL 1.1.1
Signed-off-by: Antonio Quartulli
Acked-by: Gert Doering
Message-Id: <20220121133900.14567-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23624.html
Signed-off-by: Gert Doering
---
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 354a32560..9f884ac23 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -148,8 +148,33 @@ jobs:
sslpkg: "libssl-dev"
libname: OpenSSL 1.1.1
ssllib: openssl
+ - os: ubuntu-20.04
+ sslpkg: "libssl-dev"
+ libname: OpenSSL 1.1.1
+ ssllib: openssl
+ extraconf: "--enable-iproute2"
+ - os: ubuntu-20.04
+ sslpkg: "libssl-dev"
+ libname: OpenSSL 1.1.1
+ ssllib: openssl
+ extraconf: "--enable-async-push"
+ - os: ubuntu-20.04
+ sslpkg: "libssl-dev"
+ libname: OpenSSL 1.1.1
+ ssllib: openssl
+ extraconf: "--disable-management"
+ - os: ubuntu-20.04
+ sslpkg: "libssl-dev"
+ libname: OpenSSL 1.1.1
+ ssllib: openssl
+ extraconf: "--enable-small"
+ - os: ubuntu-20.04
+ sslpkg: "libssl-dev"
+ libname: OpenSSL 1.1.1
+ ssllib: openssl
+ extraconf: "--disable-lzo --disable-lz4"
- name: "gcc - ${{matrix.os}} - ${{matrix.libname}}"
+ name: "gcc - ${{matrix.os}} - ${{matrix.libname}} ${{matrix.extraconf}}"
env:
SSLPKG: "${{matrix.sslpkg}}"
@@ -162,7 +187,7 @@ jobs:
- name: autoconf
run: autoreconf -fvi
- name: configure
- run: ./configure --with-crypto-library=${{matrix.ssllib}}
+ run: ./configure --with-crypto-library=${{matrix.ssllib}} ${{matrix.extraconf}}
- name: make all
run: make -j3
- name: make check