mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Add Android build to GitHub Actions CI
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user