From patchwork Fri Feb 14 16:06:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4145 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:9b51:b0:5e7:b9eb:58e8 with SMTP id b17csp306234max; Fri, 14 Feb 2025 08:06:53 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW6/Gi56aP8M+TZoO/rf3rlnp9uTtJtgWdoCubfTC29eicYQ3MRPgj+CFjIASr25KOaEPYLwtHfs3g=@openvpn.net X-Google-Smtp-Source: AGHT+IFaLmmjt0KbHUsuLBvFdxcIq8bVpr3JnRSUy0zCQ5e34J+fBukSeeW/v/m5dedgG8/j32w3 X-Received: by 2002:a05:6602:1607:b0:855:407e:59b9 with SMTP id ca18e2360f4ac-85563b5bd68mr606182239f.10.1739549213595; Fri, 14 Feb 2025 08:06:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739549213; cv=none; d=google.com; s=arc-20240605; b=PUct+fnvv2U/ulKlOQRyVg0jeJIrf468WtBZQww42iOULo/dlrltW4lwhpmDKFmfWW xeZp3alPs5RklS0sICxwY+pNoRy+VrDAoSaIL1dkfBwUxM1B6NGlePbTLiuIZjOhyRd4 tVYNPquA+YU0FCNC2+meGiAt/opGntaXzhmzeV3jfzU/kwGaEr0Aj5Q9vL1Vr1FCxHvw IAvotguVRhLsx+PbO6YscTtszQcSE7O+Jc7CYvNP03VgGkHqbhcpX4THO3jEPCMOxIkf wRXgTTFvZFDvNe3xKhnl5RBmNp5B0McwcMRCMm2df9SVcMZ/zrjuh1ZawxKxjGv/auFO jPcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:dkim-signature; bh=VAOZJiIJm62D86Fm+lEGccpzXaxhMQ9zyX7/TZ2QVfU=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=HjZ16fP240zHYapdncaPxLN1Ec2xiAsoI20sn1OWGDFOKsNWvUkx5Ax7WOhQA/qI33 qlOjBg800y9LHA3i4e4CI1ZKZGYOX1ZwPhC31ivtrRXaSclQQkFtIG6fO4BQWFfkmI9x b3pszIPvsRb8vSvabmXildX3TFNweqyWpiHqMjbI6QJ9xlJe9jNxsS34GJ6cVvgzLSe1 oWrRRbEXjIlsWl8tvFx1cU+GjShr06wCmCVYZLvjoYue4y5UlttYjGcWG9dcE5cKGuPr 07T7PHNQHXs0f637hNyusBpyGmKtBRwEAx2blA3Cjn5FK8L9SSHUWI2IvXHy0xWZzlqZ vsLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=hRpdPnDz; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=cLbNSeG+; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 8926c6da1cb9f-4ed2830c90dsi2967045173.150.2025.02.14.08.06.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Feb 2025 08:06:53 -0800 (PST) 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=hRpdPnDz; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=cLbNSeG+; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=muc.de 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 1tiyDJ-00078x-16; Fri, 14 Feb 2025 16:06:49 +0000 Received: from [172.30.29.66] (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 1tiyDH-00078l-Pa for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 16:06:48 +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:References: In-Reply-To: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dAiJf6s6+rcKHfHZ4MOP74Zb3TWo9VBP439qxRe02ro=; b=hRpdPnDzPuGfzsfsou56CK2gH1 KKlIasJpxv790ceS7lToWJg83T5gDKl6ofwtyhu8JX6091UBDqZL1XJCCXTrISGEeDQwEKNu7QxyH a91MX4Awu6sFmOhyF1tW26Ydwn4LGM/88H5NcxveQhNPSe2cdGHWe7w6bAomTQnaKQ/A=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=dAiJf6s6+rcKHfHZ4MOP74Zb3TWo9VBP439qxRe02ro=; b=cLbNSeG+PNcAOgswIXL6iE6Z/w NPahmCVkZRo+f0HqQvypAs66yecmd9eQofaaJT6hFNOBS1fvPg4H6qx9H2pamIjhrFhjs/94WkQpl 2liGUhQzPoarYq6CUMdaRgqTrRARR9gjOXbzcgnPuiz+LKQkw8kd8aMljDZI8+LCSvqg=; Received: from dhcp-174.greenie.muc.de ([193.149.48.174] helo=blue.greenie.muc.de) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tiyDG-0008Rt-Fi for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 16:06:48 +0000 Received: from blue.greenie.muc.de (localhost [127.0.0.1]) by blue.greenie.muc.de (8.17.1.9/8.17.1.9) with ESMTP id 51EG6ZpU006691 for ; Fri, 14 Feb 2025 17:06:35 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 51EG6Y1n006690 for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 17:06:34 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Fri, 14 Feb 2025 17:06:34 +0100 Message-ID: <20250214160634.6670-1-gert@greenie.muc.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Score: 0.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: From: Arne Schwabe Change-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Content analysis details: (0.0 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [193.149.48.174 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [193.149.48.174 listed in bl.score.senderscore.com] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1tiyDG-0008Rt-Fi Subject: [Openvpn-devel] [PATCH v4] Add android build to Github Actions 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?1824037138330807645?= X-GMAIL-MSGID: =?utf-8?q?1824049556124378741?= From: Arne Schwabe Change-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/896 This mail reflects revision 4 of this Change. Acked-by according to Gerrit (reflected above): Frank Lichtenheld diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8fd1325..b1af7ec 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,6 +35,37 @@ run: test ! -s uncrustify-changes.patch working-directory: openvpn + android: + strategy: + fail-fast: false + matrix: + abi: [ arm64-v8a ] + include: + - abi: arm64-v8a + vcpkg_triplet: arm64-android + runs-on: ubuntu-24.04 + name: "Android - ${{ matrix.abi }}" + # Github images already setup NDK with ANDROID_NDK_ROOT pointing to the root + # of the SDK + env: + VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkg_triplet }} + VCPKG_ROOT: ${{ github.workspace }}/vcpkg + VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg/installed + steps: + - name: Checkout OpenVPN + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Install vcpkg + uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5 + with: + vcpkgGitCommitId: 33e9c99208736b713cabe4490e15235f62f893d4 + - name: Install dependencies + run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka + - name: configure OpenVPN with cmake + run: cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=yes -DCMAKE_SYSTEM_NAME=Android -DOPENSSL_ROOT_DIR=${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_triplet }} -DENABLE_PKCS11=false -DBUILD_TESTING=true -DCMAKE_ANDROID_ARCH_ABI=${{ matrix.abi }} -DENABLE_LZO=false -DUSE_WERROR=no + - name: Build OpenVPN Android binary with cmake + run: cmake --build openvpn-build + + mingw: strategy: fail-fast: false