summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-24 15:24:43 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-25 13:18:41 -0700
commitf04bfd4a86979ebccad059c1b2b873a7ce0c998e (patch)
tree2d7ee2946db6d246105c7b79a42d26d36205974c
parent0fe02af0e8ce976eaca9225d19b501f627723bd9 (diff)
downloadsubsurface-f04bfd4a86979ebccad059c1b2b873a7ce0c998e.tar.gz
GitHub Actions: use the Qt 5.13.2 based Android build container
This is no longer created using GitHub actions (but all the necessary information is still included in this repo). We need to be able to shrink this container so our GitHub Action runs don't run out of disk space. Adjust the path where the resulting binaries are found with this build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--.github/workflows/android.yml6
-rwxr-xr-xpackaging/android/android-build-wrapper.sh3
2 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 7a1ea65b1..b64f1b22f 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -11,7 +11,7 @@ jobs:
buildInContainer:
runs-on: ubuntu-latest
container:
- image: docker://subsurface/android-build-container:5.13.10
+ image: docker://subsurface/android-build-container:5.13.12
steps:
- name: checkout sources
@@ -25,8 +25,8 @@ jobs:
ln -s /android/android-sdk-linux .
ls -l
bash -x subsurface/packaging/android/android-build-wrapper.sh
- cp /__w/subsurface/subsurface-mobile-build-arm64//build/outputs/apk/debug/subsurface-mobile-build-arm64-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.arm64.apk
- cp /__w/subsurface/subsurface-mobile-build-arm//build/outputs/apk/debug/subsurface-mobile-build-arm-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.apk
+ cp /__w/subsurface/subsurface-mobile-build-arm64/*mobile*/build/outputs/apk/debug/subsurface-mobile-arm64-v8a-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.arm64.apk
+ cp /__w/subsurface/subsurface-mobile-build-arm/*mobile*/build/outputs/apk/debug/subsurface-mobile-armeabi-v7a-debug.apk ${GITHUB_WORKSPACE}/Subsurface-mobile.apk
- name: create CI release
if: github.event_name == 'push'
diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh
index f7152596b..53b5e7e6f 100755
--- a/packaging/android/android-build-wrapper.sh
+++ b/packaging/android/android-build-wrapper.sh
@@ -178,5 +178,4 @@ else
bash "$SUBSURFACE_SOURCE"/packaging/android/build.sh -buildnr "$BUILDNR" arm64 $QUICK $RELEASE
fi
-ls -l ./subsurface-mobile-build-arm/build/outputs/apk/debug/*.apk
-
+ls -l subsurface-mobile-build-arm*/*mobile*/build/outputs/apk/*/*.apk