From 914764c9ccc57dada65d8824f8000c2c7d0ec96f Mon Sep 17 00:00:00 2001 From: Raihaan Shouhell Date: Wed, 23 Aug 2023 02:05:44 +0800 Subject: [PATCH] Add CI for android (#1531) --- .github/workflows/android.yml | 17 +++++++++++++++++ scripts/build-android.sh | 0 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/android.yml mode change 100644 => 100755 scripts/build-android.sh diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000000..6360ce9235 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,17 @@ +name: android build + +on: [push] + +jobs: + + android: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + abi: [armeabi-v7a, arm64-v8a, x86, x86_64] + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Build project + run: ./scripts/build-android.sh $ANDROID_NDK_HOME -a ${{ matrix.abi }} diff --git a/scripts/build-android.sh b/scripts/build-android.sh old mode 100644 new mode 100755