From e859eae4833ab294b6fd11b4c686c949be058267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 12 Mar 2024 08:09:59 +0100 Subject: [PATCH] Add Android CI --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b7f791..cb0516a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -499,3 +499,19 @@ jobs: gmake gmake stats gmake test + + android: + runs-on: ubuntu-latest + container: reactnativecommunity/react-native-android:v13.0 + steps: + - uses: actions/checkout@v4 + - name: Configure android arm64 + # see build options you can use in https://developer.android.com/ndk/guides/cmake + run: | + mkdir build + cd build + $ANDROID_HOME/cmake/3.22.1/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_HOME/ndk/26.0.10792818/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a" -DANDROID_PLATFORM=android-24 .. + - name: Build android arm64 + run: | + $ANDROID_HOME/cmake/3.22.1/bin/cmake --build build --target qjs + ls -lh build