-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.appveyor.yml
137 lines (131 loc) · 5.05 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
version: 1.0.{build}
environment:
matrix:
# - BUILD_TYPE: Debug
# COMPILER: MinGW
# GENERATOR: "MinGW Makefiles"
# PLATFORM: Win32
# - BUILD_TYPE: Release
# COMPILER: MinGW
# GENERATOR: "MinGW Makefiles"
# PLATFORM: Win32
- BUILD_TYPE: Debug
COMPILER: MinGW-w32
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- BUILD_TYPE: Release
COMPILER: MinGW-w32
GENERATOR: "MinGW Makefiles"
PLATFORM: Win32
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
- BUILD_TYPE: Debug
COMPILER: MinGW-w64
GENERATOR: "MinGW Makefiles"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: x64
- BUILD_TYPE: Release
COMPILER: MinGW-w64
GENERATOR: "MinGW Makefiles"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: x64
- BUILD_TYPE: Debug
COMPILER: MSVC15
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
- BUILD_TYPE: Release
COMPILER: MSVC15
GENERATOR: "Visual Studio 14 2015 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: x64
PLATFORMTOOLSET: "v140_xp"
- BUILD_TYPE: Debug
COMPILER: MSVC15
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
- BUILD_TYPE: Release
COMPILER: MSVC15
GENERATOR: "Visual Studio 14 2015"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
PLATFORM: Win32
PLATFORMTOOLSET: "v140_xp"
- BUILD_TYPE: Debug
COMPILER: MSVC17
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
- BUILD_TYPE: Release
COMPILER: MSVC17
GENERATOR: "Visual Studio 15 2017 Win64"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: x64
PLATFORMTOOLSET: "v141_xp"
- BUILD_TYPE: Debug
COMPILER: MSVC17
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
- BUILD_TYPE: Release
COMPILER: MSVC17
GENERATOR: "Visual Studio 15 2017"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
PLATFORM: Win32
PLATFORMTOOLSET: "v141_xp"
- BUILD_TYPE: Debug
COMPILER: MSVC19
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: Win32
PLATFORMTOOLSET: "v142"
- BUILD_TYPE: Release
COMPILER: MSVC19
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: Win32
PLATFORMTOOLSET: "v142"
- BUILD_TYPE: Debug
COMPILER: MSVC19
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: x64
PLATFORMTOOLSET: "v142"
- BUILD_TYPE: Release
COMPILER: MSVC19
GENERATOR: "Visual Studio 16 2019"
APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PLATFORM: x64
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:
- 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;=%
- cmake -G "%GENERATOR%" -DUSE_LOCAL_SDL2=ON -DSDL2_GIT_BRANCH=SDL2 -DCMAKE_INSTALL_PREFIX=AudioCodecs ..
- if [%COMPILER%]==[MinGW] cmake --build . --config %BUILD_TYPE% -- -j 2
- if [%COMPILER%]==[MinGW] mingw32-make install
- if [%COMPILER%]==[MinGW-w32] cmake --build . --config %BUILD_TYPE% -- -j 2
- if [%COMPILER%]==[MinGW-w32] mingw32-make install
- if [%COMPILER%]==[MinGW-w64] cmake --build . --config %BUILD_TYPE% -- -j 2
- if [%COMPILER%]==[MinGW-w64] mingw32-make install
- if [%COMPILER%]==[MSVC15] cmake --build . --config %BUILD_TYPE% --target install
- if [%COMPILER%]==[MSVC17] cmake --build . --config %BUILD_TYPE% --target install
- if [%COMPILER%]==[MSVC19] cmake --build . --config %BUILD_TYPE% --target install
- 7z a -t7z -mx9 "AudioCodecs-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z" "AudioCodecs"
- move AudioCodecs-%COMPILER%-%BUILD_TYPE%-%PLATFORM%.7z ..
artifacts:
- path: 'AudioCodecs-$(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'))