forked from therecipe/qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (27 loc) · 1.28 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: 1.0.{build}
clone_depth: 1
clone_folder: C:\work\src\github.com\therecipe\qt
install:
- cmd: >-
set PATH=%PATH%;C:\Qt\Qt5.8.0\Tools\mingw530_32\bin
set GOPATH=C:\work
set QT=qt-opensource-windows-x86-android-5.8.0.exe
curl -sL --retry 10 --retry-delay 10 -o %TMP%\%QT% https://download.qt.io/official_releases/qt/5.8/5.8.0/%QT%
%TMP%\%QT% --script %GOPATH%\src\github.com\therecipe\qt\internal\ci\iscript.qs
DEL %TMP%\%QT% /Q
set SDK=tools_r25.2.5-windows.zip
curl -sL --retry 10 --retry-delay 10 -o %TMP%\%SDK% https://dl.google.com/android/repository/%SDK%
7z x %TMP%\%SDK% -oC:\android-sdk-windows\
DEL %TMP%\%SDK% /Q
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,4,5,6
echo y | C:\android-sdk-windows\tools\android.bat -s update sdk -a -f -u -t 5
set NDK=android-ndk-r14b-windows-x86_64.zip
curl -sL --retry 10 --retry-delay 10 -o %TMP%\%NDK% https://dl.google.com/android/repository/%NDK%
7z x %TMP%\%NDK% -oC:\
DEL %TMP%\%NDK% /Q
build_script:
- cmd: >-
go get -v github.com/therecipe/qt/cmd/...
%GOPATH%\bin\qtsetup full desktop
%GOPATH%\bin\qtsetup full android