Skip to content

Commit fd9182c

Browse files
committedMar 12, 2024
Add Android CI
1 parent 5b1d9e4 commit fd9182c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎.github/workflows/ci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -499,3 +499,19 @@ jobs:
499499
gmake
500500
gmake stats
501501
gmake test
502+
503+
android:
504+
runs-on: ubuntu-latest
505+
container: reactnativecommunity/react-native-android:v13.0
506+
steps:
507+
- uses: actions/checkout@v4
508+
- name: Configure android arm64
509+
# see build options you can use in https://developer.android.com/ndk/guides/cmake
510+
run: |
511+
mkdir build
512+
cd build
513+
$ANDROID_HOME/cmake/3.22.1/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_HOME/ndk/26.1.10909125/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a" -DANDROID_PLATFORM=android-24 ..
514+
- name: Build android arm64
515+
run: |
516+
$ANDROID_HOME/cmake/3.22.1/bin/cmake --build build --target qjs
517+
ls -lh build

0 commit comments

Comments
 (0)