Add Android CI
This commit is contained in:
parent
5b1d9e4194
commit
e859eae483
1 changed files with 16 additions and 0 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
@ -499,3 +499,19 @@ jobs:
|
||||||
gmake
|
gmake
|
||||||
gmake stats
|
gmake stats
|
||||||
gmake test
|
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
|
||||||
|
|
Loading…
Reference in a new issue