From: "plaisthos (Code Review)" Date: Thu, 13 Feb 2025 16:12:53 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <1161b7d1a239a58939a43d52feeeb47f9092a149-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="LkQ+Qtk6M5U="; 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: flichtenheld Cc: openvpn-devel --LkQ+Qtk6M5U= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld,=20 I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/896?usp=3Demail to look at the new patch set (#2). Change subject: Add android build to Github Actions ...................................................................... Add android build to Github Actions Change-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944 Signed-off-by: Arne Schwabe --- M .github/workflows/build.yaml 1 file changed, 31 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/96/896/2 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ebea79..9022e23 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: 80d54ff62d528339c626a6fbc3489a7f25956ade + - 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 + - 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: 2 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newpatchset --LkQ+Qtk6M5U= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos uploaded patch set #2 to this change.

<= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/896?usp=3Demail">View Chang= e

Add android build to Github Actions

Change-Id: Ieb787a040f9eaf= 34d9d16996af1d63d7eae94944
Signed-off-by: Arne Schwabe <arne@...2639...= ..>
---
M .github/workflows/build.yaml
1 file changed, 31 inser= tions(+), 0 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/=
openvpn refs/changes/96/896/2
diff --git a/.github/workflows/build.=
yaml b/.github/workflows/build.yaml
index 3ebea79..9022e23 = 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<= br>+ runs-on: ubuntu-24.04
+ name: "Andro= id - ${{ matrix.abi }}"
+ # Github images already setup NDK with ANDROID_NDK_ROOT pointi= ng 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@...2844... # v4.2.2
+ - name: Install vc= pkg
+ uses: lu= kka/run-vcpkg@...2815... # v11.5
+ with:
+ vcpkgGitCommitId: 80d54ff62d528339c626a6fbc3489a7f25956ade=
+ - name: Insta= ll dependencies
+ = run: ${VCPKG_ROOT}/vcpkg install openssl lz4 cmocka
+ - name: configure OpenVPN with cm= ake
+ run: cma= ke -S . -B openvpn-build -DUNSUPPORTED_BUILDS=3Dyes -DCMAKE_SYSTEM_NAME=3DA= ndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DIR}/${{ matrix.vcpkg_triplet= }} -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE_ANDROID_ARCH_ABI= =3D${{ matrix.abi }} -DENABLE_LZO=3Dfalse
+ - name: Build OpenVPN Android binary with cmake=
+ run: cmake = --build openvpn-build
+
+
= mingw:
strategy:
fail-fast: = false

To view, visit change 896. To unsubscr= ibe, 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: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newpatchset
--LkQ+Qtk6M5U=--