From: "plaisthos (Code Review)" Date: Thu, 13 Feb 2025 15:25:08 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <991534b17e0d7ea6815039e7bc17021d3e6e9d04-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="RTavfT1DB3E="; 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 --RTavfT1DB3E= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/896?usp=3Demail to review the following change. 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, 24 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/96/896/1 diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3ebea79..0be5440 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,6 +35,30 @@ run: test ! -s uncrustify-changes.patch working-directory: openvpn + android: + runs-on: ubuntu-24.04 + name: "Android - arm64" + # Github images already setup NDK with ANDROID_NDK_ROOT pointing to th= e root + # of the SDK + env: + VCPKG_DEFAULT_TRIPLET: arm64-android + 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}/arm64-a= ndroid -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DCMAKE_ANDROID_ARCH_= ABI=3Darm64-v8a -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: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --RTavfT1DB3E= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos would like flichtenheld to review this change.

Vi= ew Change

Add android build to Github Actions

Change-Id: Ieb787a= 040f9eaf34d9d16996af1d63d7eae94944
Signed-off-by: Arne Schwabe <arne@= ...1227...>
---
M .github/workflows/build.yaml
1 file changed, = 24 insertions(+), 0 deletions(-)

git pull ssh://gerrit.openvpn.ne=
t:29418/openvpn refs/changes/96/896/1
diff --git a/.github/workflow=
s/build.yaml b/.github/workflows/build.yaml
index 3ebea79..= 0be5440 100644
--- a/.github/workflows/build.yaml+++ b/.github/workflows/build.yaml
@@ -35,6 +35,30 @= @
run: test ! -s uncrustify-changes.patch working-directory: openvpn

+ android:
+ runs-on: ubuntu-24.04
+ name: "Android - arm64&quo= t;
+ # Github imag= es already setup NDK with ANDROID_NDK_ROOT pointing to the root
<= span style=3D"color: hsl(120, 100%, 40%);">+ # of the SDK
+ env:
+ VCPKG_DEFAULT_TRIPLET: arm64-android
+ VCPKG_ROOT: ${{ = github.workspace }}/vcpkg
+ VCPKG_INSTALLED_DIR: ${{ github.workspace }}/vcpkg/installed
+ steps:
<= span style=3D"color: hsl(120, 100%, 40%);">+ - name: Checkout OpenVPN<= /span>
+ uses: action= s/checkout@...2844... # v4.2.2
+ - name: Install vcpkg
+ uses: lukka/run-vcpkg@...2815... # v11.5<= br>+ with:
+ vcpkgGitCommitId: 80d54= ff62d528339c626a6fbc3489a7f25956ade

+ - name: Install dependencies
+ run: ${VCPKG_ROOT}/vcpkg install ope= nssl lz4 cmocka
+ = - name: configure OpenVPN with cmake
+ run: cmake -S . -B openvpn-build -DUNSUPPORTED_B= UILDS=3Dyes -DCMAKE_SYSTEM_NAME=3DAndroid -DOPENSSL_ROOT_DIR=3D${VCPKG_INST= ALLED_DIR}/arm64-android -DENABLE_PKCS11=3Dfalse -DBUILD_TESTING=3Dtrue -DC= MAKE_ANDROID_ARCH_ABI=3Darm64-v8a -DENABLE_LZO=3Dfalse
+ - name: Build OpenVPN Android bina= ry with cmake
+ = run: cmake --build openvpn-build
+
+

mingw:
strategy:
= fail-fast: false

To view, 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: 1
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: newchange
--RTavfT1DB3E=--