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