From patchwork Tue Jul 18 10:52:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lichtenheld X-Patchwork-Id: 3292 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7300:1496:b0:d7:3b0f:3938 with SMTP id b22csp8046389dyh; Tue, 18 Jul 2023 03:53:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlE1rKHp0evZefCBynfhAlYosTSOKpiusMwvljRGQS9rBtvbpfXB4n81ymMQRqXEXnU6tnHj X-Received: by 2002:a05:6358:7248:b0:134:ce45:b782 with SMTP id i8-20020a056358724800b00134ce45b782mr14206496rwa.21.1689677603144; Tue, 18 Jul 2023 03:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689677603; cv=none; d=google.com; s=arc-20160816; b=kbAFpmB42xWUBrav6nGZ4WfOaVKvfx2qCudY1gh4pc3X9mVHD+nCo1YTz49iBqp+Mu iIn9tMyYYLKLV5uUVbxv6XlUE5V0EGmFltKk5e5cgZCSN1Hih0HzwUeeVB5rb2w1qa8d jmlVzCOkZ1JHOsykTK6lSrMAVcufn4lOcwZarnCNQxgAUhDT1n6zst7cph4Jm1krZokL rX+j+WIK/+195HU3W0np3Kw+KcM7U34RevKG4YV9h8ceSw3aq/F7kBtBNgZV/FjzxJgk dJeS47XRcblG1PJJYHt1kZnBwpL1TnbJOWqDDtSfKJj16BVJq4fOT3dRkigXVd75Ev3k rSjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:dkim-signature :dkim-signature; bh=Zm6c6AM3bBpeDC3HYN+kIzQ52JhJ+f/lVUrZ3In+mss=; fh=egyvB+kLBJ/aa1TEhA8W5cB7oZMSWBoneH8q5SCMHc0=; b=0VswjRPfJ9HoYyVN+yzds3cpv60u+SzMcuGIwGiPEcF8QLvWWfr7g0UdTGLRgT6Ns9 /NVO6EiNBPvQcUZW41LnSjITFCu3lUJEluuXuW3xF3QpIqFdaE9+eDkCnNVBRpaTD8RR mF2V883n5uypGttAh7fRMieRcBuPxvuM/wgF7bHfknnM/YQkCw0PianrtqWgfJApZsyP ph9ZebxiSF4mL59M+ATexEGA/OjaaZefWXa2uOZk7vEuLRBdzh8K0M/5vSOJ1KhbMoHu 6rZPAlyZS/9xTno5kv/QYxVS9ma6QuSnmbb7VwWEE6xvflT+ac3XgxyiL/Xfn75PaYFy dACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="QW9B5eM/"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=KCakg0Lj; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=FY+92iAN; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id b4-20020a6567c4000000b0055aeedd94d3si1458335pgs.58.2023.07.18.03.53.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2023 03:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b="QW9B5eM/"; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=KCakg0Lj; dkim=neutral (body hash did not verify) header.i=@lichtenheld.com header.s=MBO0001 header.b=FY+92iAN; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1qLiK8-0000MU-Kh; Tue, 18 Jul 2023 10:52:55 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qLiJx-0000LV-NS for openvpn-devel@lists.sourceforge.net; Tue, 18 Jul 2023 10:52:49 +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:To:From:Sender:Reply-To:Cc: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=3p4LkVHRaD/GhN1pkx5rCHla0XkOD0SARGhYbzkvQoY=; b=QW9B5eM/MyMbUMpmA8uBzz36QZ LKI3bVDIct2KYzpJsSYM4ObdhfdW9v4w2ktmwuFNbPwonMY5nCNxGLxN7niJg1uSKbY5utbmc1q4n 7hQ6h8mhAU8hD7q5CEF14tWajCPCvKuIXDh58+KTswGSSvWpdWV0w5UbxwNnCO9sV0Jg=; 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:To:From: Sender:Reply-To:Cc: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=3p4LkVHRaD/GhN1pkx5rCHla0XkOD0SARGhYbzkvQoY=; b=K Cakg0LjHHlWWHOr3cLr8c7mD0kocXJCjqiiMb6zG1eOTuUiRRuIDSg3pECW89KE5138VUGavOgkTR 8YjfVjKp7RD4tmA5nWa+kLMV1ArcMXLc4PLQqsaZNwPSgcuxW0h3m3ykWjOEYsWTIIslAQe5YZC9n JAWVV7u7K6zTTppE=; Received: from mout-p-201.mailbox.org ([80.241.56.171]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qLiJu-00Bn8B-Ru for openvpn-devel@lists.sourceforge.net; Tue, 18 Jul 2023 10:52:44 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4R4wl55zz5z9sSM for ; Tue, 18 Jul 2023 12:52:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lichtenheld.com; s=MBO0001; t=1689677553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3p4LkVHRaD/GhN1pkx5rCHla0XkOD0SARGhYbzkvQoY=; b=FY+92iANWRoMhn3TAf2FsOuH3R55EjUP4sC8RwNybiSa4BOS1hkSB6xGBN/9E4voEL6I1S iKGbKBWpNYTuSdJH5Japo//s9yoZjU6dAegDf5Ea3L/liSLu51W2jAJEGkhQgZnA6YfnBf YvwZKFkV768OoHlMQoIzuXyyUZfyjyKNHKpmVkNv9LDuY9XwNWPGLbwUnnXvzbLMCI885y DnFqyhclJmYabxajqj62FlWBWEBjK+U+uWAK9ir1gftllYFsTR9mAyEOAnQxFHuPslVk1e s6UFc6Z2APs3N4o2m4w4/jLdvEzJonnw7WLFlBsfUKK63buJMJFLmjf/9j4KpQ== From: Frank Lichtenheld To: openvpn-devel@lists.sourceforge.net Date: Tue, 18 Jul 2023 12:52:33 +0200 Message-Id: <20230718105233.620193-1-frank@lichtenheld.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4R4wl55zz5z9sSM X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.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: I thought instead about moving this into a loop inside powershell. But then error handling becomes annoying. So let's GitHub handle it. Change-Id: I9831f352c07b5c58a4e2d6a3dd5417842e0887d2 Signed-off-by: Frank Lichtenheld --- .github/workflows/build.yaml | 38 ++++ 1 file changed, [...] Content analysis details: (-0.9 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.171 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Headers-End: 1qLiJu-00Bn8B-Ru Subject: [Openvpn-devel] [PATCH] GHA: refactor mingw UTs and add missing tls_crypt 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: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1771755382539632054?= X-GMAIL-MSGID: =?utf-8?q?1771755382539632054?= I thought instead about moving this into a loop inside powershell. But then error handling becomes annoying. So let's GitHub handle it. Change-Id: I9831f352c07b5c58a4e2d6a3dd5417842e0887d2 Signed-off-by: Frank Lichtenheld Acked-By: Arne Schwabe --- .github/workflows/build.yaml | 38 ++++-------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index da2a427c..2ae231ee 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -85,48 +85,18 @@ jobs: fail-fast: false matrix: arch: [x86, x64] + test: [argv, auth_token, buffer, cryptoapi, crypto, misc, ncp, packet_id, pkt, provider, tls_crypt] runs-on: windows-latest - name: "mingw unittests - ${{ matrix.arch }} - OSSL" + name: "mingw unittest ${{ matrix.test }} - ${{ matrix.arch }} - OSSL" steps: - name: Retrieve mingw unittest uses: actions/download-artifact@v3 with: name: openvpn-mingw-${{ matrix.arch }}-tests path: unittests - - - name: List unittests directory - run: "dir unittests" - - - name: Run argv unit test - run: ./unittests/test_argv.exe - - - name: Run auth_token unit test - run: ./unittests/test_auth_token.exe - - - name: Run buffer unit test - run: ./unittests/test_buffer.exe - - - name: Run cryptoapi unit test - run: ./unittests/test_cryptoapi.exe - - - name: Run crypto unit test - run: ./unittests/test_crypto.exe - - - name: Run misc unit test - run: ./unittests/test_misc.exe - - - name: Run ncp unit test - run: ./unittests/test_ncp.exe - - - name: Run packet id unit test - run: ./unittests/test_packet_id.exe - - - name: Run pkt unit test - run: ./unittests/test_pkt.exe - - - name: Run provider unit test - run: ./unittests/test_provider.exe + - name: Run ${{ matrix.test }} unit test + run: ./unittests/test_${{ matrix.test }}.exe ubuntu: strategy: