From: "plaisthos (Code Review)" Date: Fri, 14 Feb 2025 11:19:09 +0000 In-Reply-To: References: Reply-To: 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="DLimgZ34sAA="; 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 --DLimgZ34sAA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello flichtenheld, 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 (#3). The following approvals got outdated and were removed: Code-Review-1 by flichtenheld 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/3 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 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 + - 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: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-MessageType: newpatchset --DLimgZ34sAA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, plaisthos.

plaisthos uploaded patch set #3 to this change.

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

The following approvals got outdated and were removed: Code-Review-1 by flichtenheld

Add android build to Github Actions

Ch= ange-Id: Ieb787a040f9eaf34d9d16996af1d63d7eae94944
Signed-off-by: Arne S= chwabe <arne@...1227...>
---
M .github/workflows/build.yaml
= 1 file changed, 31 insertions(+), 0 deletions(-)

git pull ssh://g=
errit.openvpn.net:29418/openvpn refs/changes/96/896/3
diff --git a/=
.github/workflows/build.yaml b/.github/workflows/build.yaml
index 8fd1325..ce0fb74 100644
--- a/.github/workflows/buil= d.yaml
+++ b/.github/workflows/build.yaml
@= @ -35,6 +35,37 @@
run: test ! -s uncrustify-change= s.patch
working-directory: openvpn

+ android:=
+ strategy:
+ fail-fast: false+ matrix:
+ abi: [ arm64-v8a ]+ include:
<= span style=3D"color: hsl(120, 100%, 40%);">+ - abi: arm64-v8a
+ vcpkg_triple= t: arm64-android
+ = runs-on: ubuntu-24.04
+ # Github images already setup NDK wit= h ANDROID_NDK_ROOT pointing to the root
+ # of the SDK
+ env:
+ VCPKG_DEFAULT_TRIPLET: ${{ matrix.vcpkg_triplet }}
+ VCPKG_ROOT: ${{ github.wor= kspace }}/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: 33e9c99208736= b713cabe4490e15235f62f893d4
+ - name: Install dependencies
+ run: ${VCPKG_ROOT}/vcpkg install openssl lz4= cmocka
+ - name= : configure OpenVPN with cmake
+ run: cmake -S . -B openvpn-build -DUNSUPPORTED_BUILDS=3D= yes -DCMAKE_SYSTEM_NAME=3DAndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INSTALLED_DI= R}/${{ matrix.vcpkg_triplet }} -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtr= ue -DCMAKE_ANDROID_ARCH_ABI=3D${{ matrix.abi }} -DENABLE_LZO=3Dfalse=
+ - name: Build OpenVP= N Android binary with cmake
+ run: cmake --build openvpn-build
+
+
mingw:
strategy:<= br> fail-fast: false

To vie= w, visit = change 896. To unsubscribe, 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: 3
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: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newpatchset
--DLimgZ34sAA=--