From fd077b85a2d25757e052edaa142d9d6b5bc24542 Mon Sep 17 00:00:00 2001 From: Ted John Date: Fri, 31 Jan 2020 08:02:11 +0000 Subject: [PATCH] Add Android build to GitHub Actions CI --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5197ee439..b9e06e0d02 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,3 +215,19 @@ jobs: - name: Build OpenRCT2 shell: bash run: . scripts/setenv && build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DDISABLE_NETWORK=ON -DDISABLE_HTTP_TWITCH=ON -DDISABLE_OPENGL=ON + android: + name: Android + runs-on: ubuntu-latest + container: + image: openrct2/openrct2-build:0.2.4-android + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Build OpenRCT2 + shell: bash + run: . scripts/setenv && cd src/openrct2-android && ./gradlew app:assemblePR + - name: Upload artifacts (CI) + uses: actions/upload-artifact@v1 + with: + name: "OpenRCT2-Android" + path: src/openrct2-android/app/build/outputs/apk