mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CICD: Improve Location of Scripts for the Android Build Environment.
Move around the scripts required for the setup of the build environment for android to satisfy docker's requirement of locality. This allows the removal of an extra copy step, and avoids the creation of extra artefacts, while still providing the same functionality. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
ec83e157e9
commit
b5efaf661c
8 changed files with 4 additions and 21 deletions
|
|
@ -12,13 +12,5 @@
|
|||
# If this fails, go to https://developer.android.com/studio#cmdline-tools and
|
||||
# click through for yourself, and then update the URL in the Dockerfile
|
||||
|
||||
# copy the dependency script into this folder
|
||||
cp ../../../packaging/android/android-build-setup.sh .
|
||||
cp ../../../packaging/android/variables.sh .
|
||||
|
||||
if [ "$1X" == "-no-docker-buildX" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# create the container (this takes a while)
|
||||
docker build -t android-build .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue