mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
gitlab-ci: install all android packages at once
the `android` utility is pretty stupid, it doesn't really cache the package index info. So each time it is run, it tries to fetch the indexes from the network. This combines all android package installs to a single command to make things run quicker.
This commit is contained in:
parent
e6c0be8898
commit
242e9d2fb9
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ before_script:
|
||||||
- export ANDROID_HOME=$PWD/android-sdk
|
- export ANDROID_HOME=$PWD/android-sdk
|
||||||
- export PATH="$ANDROID_HOME/tools:$PATH"
|
- export PATH="$ANDROID_HOME/tools:$PATH"
|
||||||
- echo " == Installing Android SDK components"
|
- echo " == Installing Android SDK components"
|
||||||
- echo y | android -s update sdk --no-ui -a -t platform-tools
|
- echo y | android -s update sdk --no-ui -a -t platform-tools,tools,build-tools-23.0.0
|
||||||
- echo y | android -s update sdk --no-ui -a -t tools
|
|
||||||
- echo y | android -s update sdk --no-ui -a -t build-tools-23.0.0
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue