From patchwork Fri Feb 14 12:49:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gert Doering X-Patchwork-Id: 4141 Return-Path: Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:9b51:b0:5e7:b9eb:58e8 with SMTP id b17csp171435max; Fri, 14 Feb 2025 04:49:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUUDlJyIPb70TimWF/9gQMVgoUf3U6JeRSVEetCNvHSfcC2eXHDSSNSDDBliS37IEm2n8zIg3pM+9E=@openvpn.net X-Google-Smtp-Source: AGHT+IHryEE69ejf2f5vNbkZLSP40IdDZYgGLnmTPwhJxXS42hPikvftZpiQWZV8WO/i/tNqxywn X-Received: by 2002:a05:6e02:1a4d:b0:3d0:2477:83ec with SMTP id e9e14a558f8ab-3d17bfde009mr89957585ab.14.1739537370760; Fri, 14 Feb 2025 04:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739537370; cv=none; d=google.com; s=arc-20240605; b=C5HGBFhiFXyp//jG6+5Nx9wxHvUPnYi1o9F44+Q40irm3dzEq7nWO4T+9pZFSVzRV5 +V94aZQU/+O+ynR0SiKhoJ0170VI9hHyQ4u7EoYpfpYu4+1kfGu54k69Im8ZkX1T3xRU yvOnSaCojoZ8bRQ1r9lccIxjum8byZbPlSi8Z4qtijhzkG+Jl04qwpRvtarwLtFg6iuV lA1jEE7Gt9Li3I65/K7cN0LqNulmqWqyHT5JuFkfcEtDAWAi+/J/XI/bedGIZaQdAxGq wg57PhBW+h7BTZoHlsXQuuPgRmDVQx3sTJVWB992i0fVx/SNDa/PzeEHgDq3o8EcKK6k 6IVg== 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=7T6ZXLify1dmCBGrj9pWu5P0hR7/pB1nvSji1PMuq+Y=; fh=4NbAC/LsuMLI0S0hprUlLSLCiHwg6SCAifhH718Jh0Q=; b=YcKmaoQUUHh1/1lIs1g8wPtmDDRIDQsPAOWJobxqAoZrpo7AnnIpN3oC1N0KbW1PVJ TpV8Belo37xHPWvMINMtxOLy3JVwf1JH2VMjeDtpevhqR9pyupn+KvWYlz/ZgJF/o/4d yfXYRe2JiZOcWnJaT7ecEqsjUsGvA18cWxedwhlqwTh/fWLwp4YPeuBBA0Xxmr64k7sh uHf3rCYryd+mk3++fBKQVRNS00gT5ISf1r77wkrwb4sGWcOmIOS30iNp6aiMXcfOq9wx OoOZC1GFCnK9dWRnFFV+gXtR7Sx/ZWgq6lwgg3oAUL18SA3kF3wB8R1muzZVhsxBpQH8 +dGw==; 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=jmnwhM5S; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=GjrJaI2B; 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 e9e14a558f8ab-3d18f9ca2dasi20914415ab.15.2025.02.14.04.49.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Feb 2025 04:49:30 -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=jmnwhM5S; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=GjrJaI2B; 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-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tiv8H-0002AW-MA; Fri, 14 Feb 2025 12:49:26 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tiv8G-0002AP-BT for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 12:49:24 +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=07nixbSM7U0OdAKMfc/rgSc3UpOcZNkx/b/Jby5+bgQ=; b=jmnwhM5SH8Vg+pMhzHQgYsOM1N ZwONjw3VaRrRLM2iiGMjyQlon9E14YfxOnFL+efRhCE6c48wOw8HExFHrxtMdfRp0tL/uqst70Ja+ joVjblJIw0jMFgPDe4yOY5yBdX3C0i6NTVFSMyGAhd9FC9E4iRRaWhuiwI1JErTvZzJk=; 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=07nixbSM7U0OdAKMfc/rgSc3UpOcZNkx/b/Jby5+bgQ=; b=GjrJaI2BPnZQglWXW+hVVl4tSb c5UBUCx15jw5gBz2agMnNzgHxcCpW0QwCRk2gvwNOloFih2URYgOJL7TYGgKuQgOtIGOeaZhsmn/0 jH6prgT1GfQFT4OZPfod6v3h/e1xRgRd2cIkYYcjdv52beJ2oxNxURVl8EBLAo+Im/SE=; 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 1tiv8F-0006MG-KV for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 12:49:24 +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 51ECnHOE015779 for ; Fri, 14 Feb 2025 13:49:17 +0100 Received: (from gert@localhost) by blue.greenie.muc.de (8.17.1.9/8.17.1.9/Submit) id 51ECnHDh015778 for openvpn-devel@lists.sourceforge.net; Fri, 14 Feb 2025 13:49:17 +0100 From: Gert Doering To: openvpn-devel@lists.sourceforge.net Date: Fri, 14 Feb 2025 13:49:15 +0100 Message-ID: <20250214124916.15767-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-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: 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-trusted.bondedsender.org] 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_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-Headers-End: 1tiv8F-0006MG-KV Subject: [Openvpn-devel] [PATCH v3] 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?1824037138330807645?= 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 3 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..ce0fb74 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 + - name: Build OpenVPN Android binary with cmake + run: cmake --build openvpn-build + + mingw: strategy: fail-fast: false