cutego/appveyor.yml

50 lines
1.2 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 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-07 20:14:46 +03:00
set GOPATH=C:\work
2016-10-28 05:00:58 +03:00
set QT_STUB=true
2016-10-07 19:03:28 +03:00
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 20:14:46 +03:00
curl -sL --retry 10 --retry-delay 10 -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 20:14:46 +03:00
curl -sL --retry 10 --retry-delay 10 -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
2016-10-18 01:57:45 +03:00
C:\android-sdk-windows\tools\android.bat list sdk
echo y | C:\android-sdk-windows\tools\android.bat -s update sdk -f -u -t 1,2,3,5
2016-10-06 03:15:20 +03:00
2016-10-07 20:14:46 +03:00
set NDK=android-ndk-r12b-windows-x86_64.zip
2016-10-06 03:15:20 +03:00
2016-10-07 20:14:46 +03:00
curl -sL --retry 10 --retry-delay 10 -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-30 05:53:56 +03:00
go get -v github.com/therecipe/qt/cmd/...
2016-10-06 00:41:51 +03:00
2016-10-30 00:28:13 +03:00
%GOPATH%\bin\qtsetup
%GOPATH%\bin\qtsetup android