1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Only build 32/64 ARM and package just apk file

This commit is contained in:
Ted John
2020-02-01 15:41:24 +00:00
parent fd077b85a2
commit a64c9e9924
2 changed files with 14 additions and 2 deletions

View File

@@ -225,9 +225,15 @@ jobs:
uses: actions/checkout@v1
- name: Build OpenRCT2
shell: bash
run: . scripts/setenv && cd src/openrct2-android && ./gradlew app:assemblePR
run: |
. scripts/setenv
pushd src/openrct2-android
./gradlew app:assemblePR
popd
mkdir -p artifacts
mv src/openrct2-android/app/build/outputs/apk/arm/pr/app-arm-pr.apk artifacts/openrct2.apk
- name: Upload artifacts (CI)
uses: actions/upload-artifact@v1
with:
name: "OpenRCT2-Android"
path: src/openrct2-android/app/build/outputs/apk
path: artifacts

View File

@@ -50,11 +50,13 @@ android {
}
flavorDimensions "version"
/*
productFlavors {
full {
dimension "version"
}
}
*/
externalNativeBuild {
cmake {
@@ -63,21 +65,25 @@ android {
}
productFlavors {
/*
arm7 {
ndk {
abiFilters 'armeabi-v7a'
}
}
*/
arm {
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
}
/*
x86 {
ndk {
abiFilters 'x86', 'x86_64'
}
}
*/
}
}