From: "cron2 (Code Review)" Date: Fri, 14 Feb 2025 16:19:26 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="+rLTRd43h5g="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Add android build to Github Actions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --+rLTRd43h5g= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#5) to the change originally created by= plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/896?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: Add android build to Github Actions ...................................................................... Add android build to Github Actions Change-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944 Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld Message-Id: <20250214160634.6670-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30= 900.html Signed-off-by: Gert Doering --- M .github/workflows/build.yaml 1 file changed, 31 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/96/896/5 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 th= e 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@...2844... # v4.2.2 + - name: Install vcpkg + uses: lukka/run-vcpkg@...2815... # 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=3Dyes -DCMAK= E_SYSTEM_NAME=3DAndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ mat= rix.vcpkg_triplet }} -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE= _ANDROID_ARCH_ABI=3D${{ matrix.abi }} -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno + - name: Build OpenVPN Android binary with cmake + run: cmake --build openvpn-build + + mingw: strategy: fail-fast: false -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/896?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944 Gerrit-Change-Number: 896 Gerrit-PatchSet: 5 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --+rLTRd43h5g= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #5 to the change originally cr= eated by plaisthos.

View Change

The following approvals got outdated= and were removed: Code-Review+2 by flichtenheld

Add android build to Github Actions

Ch= ange-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944
Signed-off-by: Arne S= chwabe <arne@...1227...>
Acked-by: Frank Lichtenheld <frank@...493...= 2641...>
Message-Id: <20250214160634.6670-1-gert@...1296...>URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg3= 0900.html
Signed-off-by: Gert Doering <gert@...1296...>
---
= M .github/workflows/build.yaml
1 file changed, 31 insertions(+), 0 delet= ions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/chan=
ges/96/896/5
diff --git a/.github/workflows/build.yaml b/.github/wo=
rkflows/build.yaml
index 8fd1325..b1af7ec 100644
= --- a/.github/workflows/build.yaml
+++ b/.github/work= flows/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:
+ vcpkg_triplet: arm64-android
+ runs-on: ubuntu-24.04
+ name: "Android - ${{ matrix.a= bi }}"
+ # Gi= thub images already setup NDK with ANDROID_NDK_ROOT pointing to the root
+ # of the SDK
+ env:
+ VCPKG_DEFAULT_TRIPLET: ${{ mat= rix.vcpkg_triplet }}
= + VCPKG_ROOT: ${{ github.workspace }}/vcpkg
+ VCPKG_INSTALLED_DIR: ${{ github.workspac= e }}/vcpkg/installed
= + steps:
+ - = name: Checkout OpenVPN
+ - name: Install vcpkg
+ uses: lukka/run-vcpkg@...493...= 2815... # 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 openvp= n-build -DUNSUPPORTED_BUILDS=3Dyes -DCMAKE_SYSTEM_NAME=3DAndroid -DOPENSSL_= ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_triplet }} -DENABLE_PKCS= 11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE_ANDROID_ARCH_ABI=3D${{ matrix.abi= }} -DENABLE_LZO=3Dfalse -DUSE_WERROR=3Dno

+ - name: Build OpenVPN Android binary with cmak= e
+ run: cmake= --build openvpn-build
+
mingw:

strategy:
fail-fast:= false

To view, visit change 896. To unsubsc= ribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ieb787a040f9eaf34d9d16996af1= d63d7eae94944
Gerrit-Change-Number: 896
Gerrit-PatchSet: 5
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--+rLTRd43h5g=--