From d25f4950e2b680cbf1cf904d867d8cfd24dc3b3e Mon Sep 17 00:00:00 2001 From: hev Date: Mon, 30 Sep 2024 18:53:52 +0800 Subject: [PATCH] CI: Add android checker. --- .github/workflows/build.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f1141c52..b2dcbae7f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -133,6 +133,24 @@ jobs: - name: Build cross run: | ./build-apple.sh + 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 llvm: name: LLVM runs-on: ubuntu-22.04