mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
tests: only test fdroid build
if the right build-tools is installed
This commit is contained in:
parent
a14124955a
commit
cd3e763953
@ -184,7 +184,7 @@ git remote update -p
|
|||||||
git clean -fdx
|
git clean -fdx
|
||||||
# stick with known working commit, in case future commits break things for this code
|
# stick with known working commit, in case future commits break things for this code
|
||||||
git reset --hard fea54e1161d5eb9eb1a54e26253ef84d3ab63705
|
git reset --hard fea54e1161d5eb9eb1a54e26253ef84d3ab63705
|
||||||
if [ -d $ANDROID_HOME/platforms/android-23 ]; then
|
if [ -d $ANDROID_HOME/platforms/android-23 && -d $ANDROID_HOME/build-tools/23.0.3 ]; then
|
||||||
echo "build_tools = '`ls -1 $ANDROID_HOME/build-tools/ | sort -n | tail -1`'" > config.py
|
echo "build_tools = '`ls -1 $ANDROID_HOME/build-tools/ | sort -n | tail -1`'" > config.py
|
||||||
echo "force_build_tools = True" >> config.py
|
echo "force_build_tools = True" >> config.py
|
||||||
$fdroid build --verbose org.fdroid.ci.test.app:300
|
$fdroid build --verbose org.fdroid.ci.test.app:300
|
||||||
|
Loading…
Reference in New Issue
Block a user