mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Travis: use Android docker image for build
This should make it easier to make changes to our build environment. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f39b07dec3
commit
f11f4dc139
3 changed files with 18 additions and 20 deletions
|
@ -3,13 +3,9 @@
|
|||
set -x
|
||||
set -e
|
||||
|
||||
# by running the build wrapper again we should be able to test newer
|
||||
# versions of the dependencies even without updating the docker image
|
||||
# (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
|
||||
|
||||
# Extract the built apk from the builder container
|
||||
docker cp builder:/workspace/subsurface-mobile-build-arm/build/outputs/apk/ .
|
||||
|
||||
# TODO: Caching
|
||||
# Yank Qt, android-sdk, android-ndk and other 3pp source tar balls out from the container and cache them.
|
||||
#docker exec builder mkdir -p 3pp
|
||||
#docker exec builder sh -c 'mv Qt android-sdk-linux android-ndk-* *.tar.gz *.tar.bz2 3pp/'
|
||||
#docker cp builder:/workspace/3pp .
|
||||
ls -l ../subsurface-mobile-build-arm/build/outputs/apk/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue