diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-12-24 13:31:34 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-12-30 11:20:34 -0800 |
commit | 6fb135eb463b91e61dba3b0cc5a572ebc6941af2 (patch) | |
tree | 0511a18cca900db6297806beac248453fad1fcf8 /scripts | |
parent | ed32331640f61c68a494d83906b087216f37ae98 (diff) | |
download | subsurface-6fb135eb463b91e61dba3b0cc5a572ebc6941af2.tar.gz |
Android: build both 32 and 64 bit binaries
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/android/after_success.sh | 4 | ||||
-rw-r--r-- | scripts/android/before_install.sh | 2 | ||||
-rw-r--r-- | scripts/android/travisbuild.sh | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/scripts/android/after_success.sh b/scripts/android/after_success.sh index 36219b562..c79988e06 100644 --- a/scripts/android/after_success.sh +++ b/scripts/android/after_success.sh @@ -8,8 +8,8 @@ fi source ${TRAVIS_BUILD_DIR}/scripts/release-message.sh echo "Submitting the folloing apk for continuous build release:" -ls -lh /android/subsurface-mobile-build-arm*/build/outputs/apk/*.apk +ls -lh ../subsurface-mobile-build-arm*/build/outputs/apk/*.apk # get and run the upload script wget -c https://raw.githubusercontent.com/dirkhh/uploadtool/master/upload.sh -bash ./upload.sh /android/subsurface-mobile-build-arm*/build/outputs/apk/*.apk +bash ./upload.sh ../subsurface-mobile-build-arm*/build/outputs/apk/*.apk diff --git a/scripts/android/before_install.sh b/scripts/android/before_install.sh index 2d428b4b6..253708320 100644 --- a/scripts/android/before_install.sh +++ b/scripts/android/before_install.sh @@ -8,6 +8,7 @@ git describe # setup build dir on the host, not inside of the container mkdir -p ../subsurface-mobile-build-arm +mkdir -p ../subsurface-mobile-build-arm64 # this uses a custom built Ubuntu image that includes Qt for Android and # Android NDK/SDK @@ -15,6 +16,7 @@ mkdir -p ../subsurface-mobile-build-arm PARENT="$( cd .. && pwd )" docker run -v $PWD:/android/subsurface \ -v $PARENT/subsurface-mobile-build-arm:/android/subsurface-mobile-build-arm \ + -v $PARENT/subsurface-mobile-build-arm64:/android/subsurface-mobile-build-arm64 \ --name=builder \ -w /android \ -d dirkhh/android-builder:5.12.02 \ diff --git a/scripts/android/travisbuild.sh b/scripts/android/travisbuild.sh index 6d8397e40..c76fb976b 100644 --- a/scripts/android/travisbuild.sh +++ b/scripts/android/travisbuild.sh @@ -8,4 +8,4 @@ set -e # (but of course having the right things in place will save a ton of time) docker exec -e TRAVIS="$TRAVIS" -t builder subsurface/packaging/android/android-build-wrapper.sh -ls -l ../subsurface-mobile-build-arm/build/outputs/apk/ +ls -l ../subsurface-mobile-build-arm*/build/outputs/apk/ |