cutego/appveyor.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2016-10-05 18:48:56 +03:00
version: 1.0.{build}
clone_depth: 1
2016-10-05 22:46:22 +03:00
clone_folder: C:\work\src\github.com\therecipe\qt
2016-10-05 18:48:56 +03:00
environment:
GOPATH: C:\work
2016-10-05 22:22:44 +03:00
install:
2016-10-05 18:48:56 +03:00
- cmd: >-
2016-10-07 19:03:28 +03:00
set PATH=%PATH%;C:\Qt\Qt5.7.0\Tools\mingw530_32\bin
2016-10-06 03:15:20 +03:00
set QT=qt-opensource-windows-x86-android-5.7.0.exe
2016-10-05 22:27:15 +03:00
2016-10-07 19:03:28 +03:00
curl -sL --retry 6 --retry-delay 20 -o %TMP%\%QT% https://download.qt.io/official_releases/qt/5.7/5.7.0/%QT%
2016-10-05 22:27:15 +03:00
2016-10-06 03:15:20 +03:00
%TMP%\%QT% --script %GOPATH%\src\github.com\therecipe\qt\internal\ci\iscript.qs
2016-10-05 21:40:59 +03:00
2016-10-06 03:15:20 +03:00
DEL %TMP%\%QT% /Q
2016-10-05 23:32:10 +03:00
2016-10-05 21:40:59 +03:00
2016-10-06 03:15:20 +03:00
set SDK=android-sdk_r24.4.1-windows.zip
2016-10-05 23:32:10 +03:00
2016-10-07 19:03:28 +03:00
curl -sL --retry 6 --retry-delay 20 -o %TMP%\%SDK% https://dl.google.com/android/%SDK%
2016-10-05 22:27:15 +03:00
2016-10-06 03:15:20 +03:00
7z x %TMP%\%SDK% -oC:\
2016-10-05 22:27:15 +03:00
2016-10-06 03:15:20 +03:00
DEL %TMP%\%SDK% /Q
echo y | %ANDROID_SDK_DIR%\tools\android.bat -s update sdk -f -u -a -t 1,2,4,31
SET NDK=android-ndk-r12b-windows-x86_64.zip
2016-10-07 19:03:28 +03:00
curl -sL --retry 6 --retry-delay 20 -o %TMP%\%NDK% https://dl.google.com/android/repository/%NDK%
2016-10-06 03:15:20 +03:00
7z x %TMP%\%NDK% -oC:\
DEL %TMP%\%NDK% /Q
2016-10-05 22:22:44 +03:00
build_script:
- cmd: >-
2016-10-05 23:46:33 +03:00
%GOPATH%\src\github.com\therecipe\qt\setup.bat
2016-10-06 00:41:51 +03:00
2016-10-06 03:15:20 +03:00
%GOPATH%\src\github.com\therecipe\qt\setup.bat android