[Openvpn-devel,v3,4/5] GitHub Actions: add Linux DCO build (on Ubuntu 20.04)

Message ID 20220519093153.18944-4-a@unstable.cc
State Changes Requested
Headers show
Series [Openvpn-devel,v3,1/5] ovpn-dco: introduce linux data-channel offload support | expand

Commit Message

Antonio Quartulli May 19, 2022, 9:31 a.m. UTC
Signed-off-by: Antonio Quartulli <a@unstable.cc>
---

Changes from v1:
* rebased

 .github/workflows/build.yaml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Patch

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 9301f76e..ef428db1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -201,15 +201,22 @@  jobs:
             libname: OpenSSL 1.1.1
             ssllib: openssl
             extraconf: "--disable-lzo --disable-lz4"
+          - os: ubuntu-20.04
+            sslpkg: "libssl-dev"
+            libname: OpenSSL 1.1.1
+            ssllib: openssl
+            extraconf: "--enable-dco"
+            nlpkg: "libnl-genl-3-dev"
 
     name: "gcc - ${{matrix.os}} - ${{matrix.libname}} ${{matrix.extraconf}}"
     env:
       SSLPKG: "${{matrix.sslpkg}}"
+      NLPKG: "${{matrix.nlpkg}}"
 
     runs-on: ${{matrix.os}}
     steps:
       - name: Install dependencies
-        run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG}
+        run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${NLPKG}
       - name: Checkout OpenVPN
         uses: actions/checkout@v2
       - name: autoconf