mirror of
https://github.com/heiher/natmap.git
synced 2026-05-06 21:51:26 +08:00
CI: Add android checker.
This commit is contained in:
18
.github/workflows/build.yaml
vendored
18
.github/workflows/build.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user