forked from WohlSoft/PGE-File-Library-STL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
126 lines (120 loc) · 4.24 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: 0.3.1.14-{build}
environment:
global:
PLATFORMTOOLSET: "v140"
matrix:
- BUILD_TYPE: Debug
COMPILER: MinGW
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\mingw73_32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- BUILD_TYPE: Release
COMPILER: MinGW
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\mingw73_32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- BUILD_TYPE: Debug
COMPILER: MinGW-w64
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: x64
QT_BUILD: OFF
- BUILD_TYPE: Release
COMPILER: MinGW-w64
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: x64
QT_BUILD: OFF
- BUILD_TYPE: Debug
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\msvc2015_64
- BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\msvc2015_64
- BUILD_TYPE: Debug
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
QT_BUILD: OFF
- BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
QT_BUILD: OFF
- BUILD_TYPE: Debug
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\msvc2017_64
- BUILD_TYPE: Release
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
QT_BUILD: ON
QT_PATH: C:\Qt\5.13\msvc2017_64
- BUILD_TYPE: Debug
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
QT_BUILD: OFF
- BUILD_TYPE: Release
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
QT_BUILD: OFF
build_script:
- md build-%COMPILER%-%BUILD_TYPE%-%PLATFORM%
- cd build-%COMPILER%-%BUILD_TYPE%-%PLATFORM%
- if [%COMPILER%]==[MinGW] set PATH=C:\Qt\Tools\mingw530_32\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- if [%COMPILER%]==[MinGW-w32] set PATH=C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- cmake -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_PREFIX_PATH=%QT_PATH% -DPGEFL_QT_SUPPORT=%QT_BUILD% -DCMAKE_INSTALL_PREFIX=PGE-FL ..
- if [%COMPILER_FAMILY%]==[MinGW] cmake --build . --config %BUILD_TYPE% -- -j 2
- if [%COMPILER_FAMILY%]==[MinGW] mingw32-make install
- if [%COMPILER_FAMILY%]==[MSVC] cmake --build . --config %BUILD_TYPE% --target install
- 7z a -t7z -mx9 "PGE-FL-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z" "PGE-FL"
- move PGE-FL-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z ..
artifacts:
- path: 'PGE-FL-$(COMPILER)-$(BUILD_TYPE)-$(PLATFORM).7z'
deploy:
- provider: Environment
name: WohlnetFTP
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))