From patchwork Fri Jan 21 09:49:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Quartulli X-Patchwork-Id: 2244 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director13.mail.ord1d.rsapps.net ([172.30.191.6]) by backend41.mail.ord1d.rsapps.net with LMTP id cAmoFZMc62GtPAAAqwncew (envelope-from ) for ; Fri, 21 Jan 2022 15:50:27 -0500 Received: from proxy15.mail.ord1d.rsapps.net ([172.30.191.6]) by director13.mail.ord1d.rsapps.net with LMTP id eLHgLJMc62GJLAAA91zNiA (envelope-from ) for ; Fri, 21 Jan 2022 15:50:27 -0500 Received: from smtp10.gate.ord1c ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy15.mail.ord1d.rsapps.net with LMTPS id MFudLJMc62HYFgAAAY1PeQ (envelope-from ) for ; Fri, 21 Jan 2022 15:50:27 -0500 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp10.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=unstable.cc X-Suspicious-Flag: YES X-Classification-ID: c2f8215a-7afb-11ec-90a2-0026b954785f-1-1 Received: from [216.105.38.7] ([216.105.38.7:46630] helo=lists.sourceforge.net) by smtp10.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 73/48-02564-39C1BE16; Fri, 21 Jan 2022 15:50:27 -0500 Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nB0ql-0004HD-GI; Fri, 21 Jan 2022 20:49:34 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nB0qj-0004H6-Q7 for openvpn-devel@lists.sourceforge.net; Fri, 21 Jan 2022 20:49:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qE7NZ6PS5BPgppbT9knctQ9OTalIBZjGlhHh1j+DxUs=; b=OzD/If5jG+1Sz6BF+tSq8+eRrp Iiacb9vIahKMeeE49PKYLnmgCeFuuQKNMoW8lbxy425LmkKR9kwLWFg4qoqR5stDQ23p8kDMcFRjW K/zxdDiY3t8xMVMYB/Mat/KhozLdFMsHgsJV0CY7LqrWkrYbG9x7SgMXPltlaqoSjz9M=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=qE7NZ6PS5BPgppbT9knctQ9OTalIBZjGlhHh1j+DxUs=; b=m HfciqxyUBq02NTlOBnok0EYS5YwV9XzV269E23NJbMGrNM2WWmo82PHX+DJWGStZm23qtegqo0myd pgKfA9sVhmHNP8TgYbczobJFjPmn9e/WU6maOkZdwv34FQcjIxeInP6hfkhzXQ3OqQPBYvcoqvBrs CH6+akfm+RuQ/Q+4=; Received: from s2.neomailbox.net ([5.148.176.60]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1nB0qh-006cdt-5Q for openvpn-devel@lists.sourceforge.net; Fri, 21 Jan 2022 20:49:32 +0000 From: Antonio Quartulli To: openvpn-devel@lists.sourceforge.net Date: Fri, 21 Jan 2022 21:49:33 +0100 Message-Id: <20220121204933.591-1-a@unstable.cc> MIME-Version: 1.0 X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Antonio Quartulli --- 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). Content analysis details: (0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1nB0qh-006cdt-5Q Subject: [Openvpn-devel] [PATCH 2.5] GitHub Actions: update script to same version as master X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Antonio Quartulli Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Signed-off-by: Antonio Quartulli Acked-By: Arne Schwabe --- 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@v2 - 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