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