CI: Add android checker.

This commit is contained in:
hev
2024-09-30 20:43:28 +08:00
parent 4bebd0ce0d
commit e18873baf5

View File

@@ -132,3 +132,21 @@ jobs:
- name: Build
run: |
make
android:
name: Android
runs-on: ubuntu-22.04
if: github.event_name != 'release'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: true
- name: Prepare
run: |
wget https://dl.google.com/android/repository/android-ndk-r27b-linux.zip
unzip android-ndk-r27b-linux.zip
ln -sf . jni
- name: Build
run: |
./android-ndk-r27b/ndk-build