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:
Michael Keller 2024-01-08 07:51:43 +13:00
parent ec83e157e9
commit b5efaf661c
8 changed files with 4 additions and 21 deletions

View file

@ -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 .