-
Notifications
You must be signed in to change notification settings - Fork 26
/
.appveyor.yml
286 lines (259 loc) · 11.3 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
version: 2.x.{build}
environment:
global:
PLATFORMTOOLSET: "v140"
matrix:
- NAME: MinGW-w64-i686-VB6-SDL-Local-MinSizeRel
BUILD_TYPE: MinSizeRel
COMPILER: MinGW-w32
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32-VB6-Binding
IS_VB6_BINDING: YES
EXTRA_CMAKE_FLAGS: "-DMIXERX_ENABLE_GPL=ON -DBUILD_AS_VB6_BINDING=ON -DMIXERX_DISABLE_SIMD=ON -DAUDIO_CODECS_BUILD_LOCAL_SDL2_SHARED=OFF -DAUDIO_CODECS_BUILD_LOCAL_SDL2=ON"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- NAME: MinGW-w64-i686-VB6-SDL.2.0.22-MinSizeRel
BUILD_TYPE: MinSizeRel
COMPILER: MinGW-w32
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32-VB6-Binding-SDL-2.0.22
IS_VB6_BINDING: YES
EXTRA_CMAKE_FLAGS: "-DMIXERX_ENABLE_GPL=ON -DBUILD_AS_VB6_BINDING=ON -DMIXERX_DISABLE_SIMD=ON -DAUDIO_CODECS_BUILD_LOCAL_SDL2_SHARED=OFF -DAUDIO_CODECS_SDL2_GIT_BRANCH=237348c -DWITH_SDL2_WASAPI=OFF"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
# - NAME: MinGW-w64-i686-VB6-SDL.2.0.8-MinSizeRel
# BUILD_TYPE: MinSizeRel
# COMPILER: MinGW-w32
# COMPILER_FAMILY: MinGW
# GENERATOR: "MinGW Makefiles"
# PLATFORM: Win32-VB6-Binding-SDL-2.0.8
# IS_VB6_BINDING: YES
# EXTRA_CMAKE_FLAGS: "-DBUILD_AS_VB6_BINDING=ON -DAUDIO_CODECS_BUILD_LOCAL_SDL2_SHARED=OFF -DAUDIO_CODECS_SDL2_GIT_BRANCH=e9fc66a -DWITH_SDL2_WASAPI=OFF"
# APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- NAME: MSVC15-i686-SDL.2.0.22-NOWASAPI-Release
BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32-SDL-2.0.22-DS
PLATFORMTOOLSET: "v140_xp"
EXTRA_CMAKE_FLAGS: "-DMIXERX_ENABLE_GPL=ON -DAUDIO_CODECS_SDL2_GIT_BRANCH=237348c -DWITH_SDL2_WASAPI=OFF"
- NAME: MSVC15-i686-SDL.2.0.12-Release
BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32-SDL-2.0.22
PLATFORMTOOLSET: "v140_xp"
EXTRA_CMAKE_FLAGS: "-DMIXERX_ENABLE_GPL=ON -DAUDIO_CODECS_SDL2_GIT_BRANCH=237348c"
# - NAME: MSVC15-i686-SDL.2.0.10-NOWASAPI-Release
# BUILD_TYPE: Release
# COMPILER: MSVC15
# COMPILER_FAMILY: MSVC
# GENERATOR: "Visual Studio 14 2015"
# APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
# PLATFORM: Win32-SDL-2.0.10-DS
# PLATFORMTOOLSET: "v140_xp"
# EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=0e9560a -DWITH_SDL2_WASAPI=OFF"
#
# - NAME: MSVC15-i686-SDL.2.0.10-Release
# BUILD_TYPE: Release
# COMPILER: MSVC15
# COMPILER_FAMILY: MSVC
# GENERATOR: "Visual Studio 14 2015"
# APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
# PLATFORM: Win32-SDL-2.0.10
# PLATFORMTOOLSET: "v140_xp"
# EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=0e9560a"
#
# - NAME: MSVC15-i686-SDL.2.0.9-NOWASAPI-Release
# BUILD_TYPE: Release
# COMPILER: MSVC15
# COMPILER_FAMILY: MSVC
# GENERATOR: "Visual Studio 14 2015"
# APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
# PLATFORM: Win32-SDL-2.0.9-DS
# PLATFORMTOOLSET: "v140_xp"
# EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=c49ecf6 -DWITH_SDL2_WASAPI=OFF"
#
# - NAME: MSVC15-i686-SDL.2.0.9-Release
# BUILD_TYPE: Release
# COMPILER: MSVC15
# COMPILER_FAMILY: MSVC
# GENERATOR: "Visual Studio 14 2015"
# APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
# PLATFORM: Win32-SDL-2.0.9
# PLATFORMTOOLSET: "v140_xp"
# EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=c49ecf6"
- NAME: MINGW-w64-i686-Default-Debug
BUILD_TYPE: Debug
COMPILER: MinGW-w32
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
- NAME: MINGW-w64-i686-Default-Release
BUILD_TYPE: Release
COMPILER: MinGW-w32
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
- NAME: MINGW-w64-x86_64-Default-Debug
BUILD_TYPE: Debug
COMPILER: MinGW-w64
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
- NAME: MINGW-w64-x86_64-Default-Release
BUILD_TYPE: Release
COMPILER: MinGW-w64
COMPILER_FAMILY: MinGW
GENERATOR: "MinGW Makefiles"
PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
- NAME: MSVC15-x86_64-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
- NAME: MSVC15-x86_64-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
- NAME: MSVC15-i686-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
- NAME: MSVC15-i686-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC15
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
- NAME: MSVC17-x86_64-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
- NAME: MSVC17-x86_64-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
- NAME: MSVC17-i686-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
- NAME: MSVC17-i686-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC17
COMPILER_FAMILY: MSVC
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
- NAME: MSVC19-x86_64-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC19
COMPILER_FAMILY: MSVC2
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v142"
- NAME: MSVC19-x86_64-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC19
COMPILER_FAMILY: MSVC2
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: x64
PLATFORMTOOLSET: "v142"
- NAME: MSVC19-i686-Default-Debug
BUILD_TYPE: Debug
COMPILER: MSVC19
COMPILER_FAMILY: MSVC2
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v142"
- NAME: MSVC19-i686-Default-Release
BUILD_TYPE: Release
COMPILER: MSVC19
COMPILER_FAMILY: MSVC2
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
EXTRA_CMAKE_FLAGS: "-DAUDIO_CODECS_SDL2_GIT_BRANCH=SDL2"
PLATFORM: Win32
PLATFORMTOOLSET: "v142"
install:
- appveyor DownloadFile https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0-win64.exe -FileName yasm.exe
- set PATH=%PATH%;%APPVEYOR_BUILD_FOLDER%
build_script:
- set MIXER_BUILD_FLAGS=-DUSE_DRFLAC=ON -DUSE_FLAC=OFF -DAUDIOCODECS_BUILD_FLAC=OFF -DUSE_OGG_VORBIS_STB=ON -DAUDIOCODECS_BUILD_OGG_VORBIS=OFF -DUSE_MP3_DRMP3=ON -DUSE_MP3_MPG123=OFF -DAUDIOCODECS_BUILD_MPG123=OFF %EXTRA_CMAKE_FLAGS%
- md build-%COMPILER%-%BUILD_TYPE%-%PLATFORM%
- cd build-%COMPILER%-%BUILD_TYPE%-%PLATFORM%
- if [%COMPILER%]==[MinGW] set PATH=C:\MinGW\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- if [%COMPILER%]==[MinGW-w32] set PATH=C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- if [%COMPILER%]==[MinGW-w64] set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin;=%
- if NOT [%COMPILER_FAMILY%]==[MSVC2] cmake -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_PREFIX_PATH=. -DCMAKE_INSTALL_PREFIX=SDL-Mixer-X -DDOWNLOAD_AUDIO_CODECS_DEPENDENCY=YES %MIXER_BUILD_FLAGS% ..
- if [%COMPILER_FAMILY%]==[MSVC2] cmake -G "%GENERATOR%" -A %PLATFORM% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_PREFIX_PATH=. -DCMAKE_INSTALL_PREFIX=SDL-Mixer-X -DDOWNLOAD_AUDIO_CODECS_DEPENDENCY=YES %MIXER_BUILD_FLAGS% ..
- 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
- if [%COMPILER_FAMILY%]==[MSVC2] cmake --build . --config %BUILD_TYPE% --target install
- if NOT [%IS_VB6_BINDING%]==[YES] 7z a -t7z -mx9 "SDL-Mixer-X-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z" "SDL-Mixer-X"
- if [%IS_VB6_BINDING%]==[YES] 7z x ../VB6_Wrapper/SDL_Mixer_vb6_example.clean.7z * -osdl-mixer-vb6
- if [%IS_VB6_BINDING%]==[YES] copy ..\VB6_Wrapper\ReadME.txt sdl-mixer-vb6
- if [%IS_VB6_BINDING%]==[YES] copy ..\SDL2_mixer_ext.License.txt sdl-mixer-vb6\licenses\SDL2MixerVB.License.txt
- if [%IS_VB6_BINDING%]==[YES] copy ..\docs\SDL_mixer_ext.html sdl-mixer-vb6\
- if [%IS_VB6_BINDING%]==[YES] 7z a -t7z -mx9 "SDL-Mixer-X-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z" "sdl-mixer-vb6/*"
- move SDL-Mixer-X-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z ..
artifacts:
- path: 'SDL-Mixer-X-$(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'))