forked from wang-bin/QtAV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
104 lines (87 loc) · 2.11 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
branches:
only:
- master
- prelease
- ci/appveyor
- appveyor
environment:
matrix:
- arch: x64
qt: 5.9
cc: VS2017
mode: release
QTDIR: C:\Qt\5.9\msvc2017_64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- arch: x86
cc: VS2015
qt: 5.9
toolchain_version: 14
mode: release
QTDIR: C:\Qt\5.9\msvc2015
- arch: x64
cc: VS2013
qt: 5.6
toolchain_version: 12
mode: debug
QTDIR: C:\Qt\5.6\msvc2013_64
- arch: 32
cc: MinGW
qt: 5.7
toolchain_version: 530
mode: debug
QTDIR: C:\Qt\5.7\mingw53_32
- arch: 32
cc: MinGW
qt: 5.4
toolchain_version: 491
mode: release
QTDIR: C:\Qt\5.4\mingw491_32
- arch: 32
cc: MinGW
qt: 5.3
toolchain_version: 482
mode: debug
QTDIR: C:\Qt\5.3\mingw482_32
matrix:
fast_finish: false
cache:
- AV
init:
- set vcarch=%arch%
- if "%arch%" == "x64" set vcarch=amd64
- if �%==VS2017 (
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %vcarch%
) else if not �%==MinGW (
call "C:\Program Files (x86)\Microsoft Visual Studio %toolchain_version%.0\VC\vcvarsall.bat" %vcarch%
)
- echo NUMBER_OF_PROCESSORS=%NUMBER_OF_PROCESSORS%
- echo PROCESSOR_IDENTIFIER=%PROCESSOR_IDENTIFIER%
- echo QTDIR=%QTDIR%
install:
- git submodule update --init
- mkdir build
- cd build
- ..\tools\ci\win\install_dep.bat
before_build:
- set PATH=%QTDIR%\bin;%PATH%
- if �%==MinGW set PATH=C:\Qt\Tools\mingw%toolchain_version%_32\bin;%PATH%
- echo PATH=%PATH%
build_script:
- ..\tools\ci\win\build.bat
after_build:
- ..\tools\ci\win\deploy_win.bat
test: off
artifacts:
- path: 'QtAV*.7z' # relative to repo root
deploy:
provider: FTP
protocol: sftp
host: frs.sourceforge.net
username: novesky,qtav
password:
secure: 2mQg4oxdX8S7rMJz2TCGGg==
folder: /home/frs/project/q/qt/qtav/ci # why always relative path even if starts with / ? I have to make a link home/frs/project/q/qt/qtav/ci => /home/frs/project/q/qt/qtav/ci
active_mode: false
on:
mode: release
cc: VS2017