commit 3bb5ae6451909e5e610e44bc0613f91932154aa5
parent 4350f93aa436578fb55aff21309ee8145ed26e4e
Author: [email protected] <[email protected]>
Date: Thu, 7 Mar 2019 17:27:09 +0000
Workaround: create empty .android\repositories.cfg
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -125,6 +125,8 @@ jobs:
choco install ninja
echo y > "%TMP%\always_yes"
echo y >> "%TMP%\always_yes"
+ mkdir "%USERPROFILE%\.android"
+ echo > "%USERPROFILE%\.android\repositories.cfg"
"%ANDROID_HOME%\tools\bin\sdkmanager.bat" "ndk-bundle" < %TMP%\always_yes
ci\run.cmd build-release -DCMAKE_TOOLCHAIN_FILE="%ANDROID_HOME%\ndk-bundle\build\cmake\android.toolchain.cmake" -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=TRUE -DSKIP_TESTS=ON -DCMAKE_BUILD_TYPE=Release
@@ -136,6 +138,8 @@ jobs:
choco install ninja
echo y > "%TMP%\always_yes"
echo y >> "%TMP%\always_yes"
+ mkdir "%USERPROFILE%\.android"
+ echo > "%USERPROFILE%\.android\repositories.cfg"
"%ANDROID_HOME%\tools\bin\sdkmanager.bat" "ndk-bundle" < %TMP%\always_yes
ci\run.cmd build-release -DCMAKE_TOOLCHAIN_FILE="%ANDROID_HOME%\ndk-bundle\build\cmake\android.toolchain.cmake" -DANDROID_ABI=arm64-v8a -DANDROID_ARM_NEON=TRUE -DSKIP_TESTS=ON -DCMAKE_BUILD_TYPE=Release