All of lore.kernel.org
 help / color / mirror / Atom feed
* [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master
@ 2022-01-21 20:49 Antonio Quartulli
  2022-01-22  2:37 ` Arne Schwabe
  2022-01-26 13:49 ` [Openvpn-devel] [PATCH applied] " Gert Doering
  0 siblings, 2 replies; 3+ messages in thread
From: Antonio Quartulli @ 2022-01-21 20:49 UTC (permalink / raw)
  To: openvpn-devel; +Cc: Antonio Quartulli <a@

Signed-off-by: Antonio Quartulli <a@...2181...>
---

This patch combines some master commits in order to bring the GH script
up to the same state as the one in master (minus OpenSSL3 related
changes).

 .github/workflows/build.yaml | 68 ++++++++++++++++++++++++++++++++----
 1 file changed, 61 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index feb6cc99..5c02504a 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -5,6 +5,7 @@ on: [push, pull_request]
 jobs:
   mingw:
     strategy:
+      fail-fast: false
       matrix:
         include:
           - target: mingw64
@@ -12,6 +13,8 @@ jobs:
           - target: mingw
             chost: i686-w64-mingw32
 
+    name: "gcc-mingw - ${{matrix.target}}"
+
     runs-on: ubuntu-20.04
     env:
       MAKEFLAGS: -j3
@@ -125,32 +128,81 @@ jobs:
 
   ubuntu:
     strategy:
+      fail-fast: false
       matrix:
         os: [ubuntu-18.04, ubuntu-20.04]
-        ssllib: [mbedtls, openssl]
+        sslpkg: [libmbedtls-dev]
+        ssllib: [mbedtls]
+        libname: [mbed TLS]
+
+        include:
+          - os: ubuntu-18.04
+            sslpkg: "libssl1.0-dev"
+            ssllib: openssl
+            libname: OpenSSL 1.0.2
+          - os: ubuntu-18.04
+            sslpkg: "libssl-dev"
+            libname: OpenSSL 1.1.1
+            ssllib: openssl
+          - os: ubuntu-20.04
+            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}} ${{matrix.extraconf}}"
+    env:
+      SSLPKG: "${{matrix.sslpkg}}"
 
     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 libmbedtls-dev
+        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}
       - name: Checkout OpenVPN
         uses: actions/checkout@...2620...
       - name: autoconf
         run: autoreconf -fvi
-      - name: configure --with-crypto-library=${{matrix.ssllib}}
-        run: ./configure
+      - name: configure
+        run: ./configure --with-crypto-library=${{matrix.ssllib}} ${{matrix.extraconf}}
       - name: make all
         run: make -j3
       - name: make check
         run: make check
 
-  ubutun20-clang-asan:
+  ubuntu-clang-asan:
     strategy:
+      fail-fast: false
       matrix:
-        os: [ubuntu-16.04, ubuntu-18.04]
+        os: [ubuntu-20.04]
         ssllib: [mbedtls, openssl]
 
-    runs-on: ubuntu-20.04
+    name: "clang-asan - ${{matrix.os}} - ${{matrix.ssllib}}"
+
+    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 clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev
@@ -184,6 +236,7 @@ jobs:
 
   msvc:
       strategy:
+        fail-fast: false
         matrix:
           plat: [ARM64, Win32, x64]
           include:
@@ -194,6 +247,7 @@ jobs:
             - plat: x64
               triplet: x64
 
+      name: "msbuild - ${{matrix.triplet}} - openssl"
       env:
         BUILD_CONFIGURATION: Release
         VCPKG_OVERLAY_PORTS: ${{ github.workspace }}/contrib/vcpkg-ports
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master
  2022-01-21 20:49 [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master Antonio Quartulli
@ 2022-01-22  2:37 ` Arne Schwabe
  2022-01-26 13:49 ` [Openvpn-devel] [PATCH applied] " Gert Doering
  1 sibling, 0 replies; 3+ messages in thread
From: Arne Schwabe @ 2022-01-22  2:37 UTC (permalink / raw)
  To: Antonio Quartulli <a@

Am 21.01.22 um 21:49 schrieb Antonio Quartulli:
> Signed-off-by: Antonio Quartulli <a@...2181...>
> ---
> 
> This patch combines some master commits in order to bring the GH script
> up to the same state as the one in master (minus OpenSSL3 related
> changes).
> 

Acked-By: Arne Schwabe <arne@...1227...>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Openvpn-devel] [PATCH applied] Re: GitHub Actions: update script to same version as master
  2022-01-21 20:49 [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master Antonio Quartulli
  2022-01-22  2:37 ` Arne Schwabe
@ 2022-01-26 13:49 ` Gert Doering
  1 sibling, 0 replies; 3+ messages in thread
From: Gert Doering @ 2022-01-26 13:49 UTC (permalink / raw)
  To: Antonio Quartulli <a@; +Cc: openvpn-devel

Thanks.

Your patch has been applied to the release/2.5 branch.

commit f1f8eb5f88caf72937a95dc797ab0d26c563f280
Author: Antonio Quartulli
Date:   Fri Jan 21 21:49:33 2022 +0100

     GitHub Actions: update script to same version as master

     Signed-off-by: Antonio Quartulli <a@...2181...>
     Acked-by: Arne Schwabe <arne@...1227...>
     Message-Id: <20220121204933.591-1-a@...2181...>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23634.html
     Signed-off-by: Gert Doering <gert@...1296...>


--
kind regards,

Gert Doering



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-26 13:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 20:49 [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master Antonio Quartulli
2022-01-22  2:37 ` Arne Schwabe
2022-01-26 13:49 ` [Openvpn-devel] [PATCH applied] " Gert Doering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.