[Openvpn-devel,v2] GitHub Actions: add other config flavours
Commit Message
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 <a@unstable.cc>
---
v2:
* combined --disable-lzo and --disable-lz4 in one single build
.github/workflows/build.yaml | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
Comments
Acked-by: Gert Doering <gert@greenie.muc.de>
Sounds useful. We should not overdo the "burn energy for testing build
variants" thing, but "not test problematic variants" is not good either.
Your patch has been applied to the master branch.
commit 8ee0997abd0642c4c4a6135573beba647d982f7c
Author: Antonio Quartulli
Date: Fri Jan 21 14:39:00 2022 +0100
GitHub Actions: add other config flavours
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
--
kind regards,
Gert Doering
@@ -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