From 1eddea8a9114107942f880a1ce2c077287b23fe3 Mon Sep 17 00:00:00 2001 From: Michel Heily Date: Mon, 19 Oct 2020 15:31:01 -0700 Subject: [PATCH] Build android APK from CI Former-commit-id: fda1b7d5b1b6176fe1b599b2f22a51f9f6b78ab0 Former-commit-id: 6365f924aefda080e64354539f8cff3f47d38088 --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 489241e..2063b96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,6 +57,28 @@ jobs: name: rustboyadvance-sdl2-x86_64-unknown-linux-gnu path: artifacts + build-android-apk: + + runs-on: ubuntu-latest + + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Install toolchains + run: rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android + - name: Build APK + working-directory: ./platform/android + run: ./gradlew build + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: rustdroid.apk + path: ./platform/android/app/build/outputs/apk/release/app-release-unsigned.apk + + + build-windows-64: runs-on: windows-2019