6
6
# Builds the library using CMake with VS Generator (GitHub Actions covers Ninja).
7
7
8
8
schedules :
9
- - cron : " 0 4 * * *"
10
- displayName : ' Nightly build'
11
- branches :
12
- include :
13
- - main
9
+ - cron : " 0 4 * * *"
10
+ displayName : ' Nightly build'
11
+ branches :
12
+ include :
13
+ - main
14
14
15
15
trigger :
16
16
branches :
17
17
include :
18
- - main
18
+ - main
19
19
paths :
20
20
exclude :
21
- - ' *.md'
22
- - LICENSE
23
- - ' .github/**'
24
- - ' .nuget/*'
25
- - build/*.cmd
26
- - build/*.props
27
- - build/*.ps1
28
- - build/*.targets
29
- - build/*.xvd
21
+ - ' *.md'
22
+ - LICENSE
23
+ - ' .github/**'
24
+ - ' .nuget/*'
25
+ - build/*.cmd
26
+ - build/*.props
27
+ - build/*.ps1
28
+ - build/*.targets
29
+ - build/*.xvd
30
30
31
31
pr :
32
32
branches :
33
33
include :
34
- - main
34
+ - main
35
35
paths :
36
36
exclude :
37
- - ' *.md'
38
- - LICENSE
39
- - ' .github/**'
40
- - ' .nuget/*'
41
- - build/*.cmd
42
- - build/*.props
43
- - build/*.ps1
44
- - build/*.targets
45
- - build/*.xvd
37
+ - ' *.md'
38
+ - LICENSE
39
+ - ' .github/**'
40
+ - ' .nuget/*'
41
+ - build/*.cmd
42
+ - build/*.props
43
+ - build/*.ps1
44
+ - build/*.targets
45
+ - build/*.xvd
46
46
drafts : false
47
47
48
48
resources :
49
49
repositories :
50
- - repository : self
51
- type : git
52
- ref : refs/heads/main
50
+ - repository : self
51
+ type : git
52
+ ref : refs/heads/main
53
53
54
54
name : $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
55
55
@@ -63,137 +63,139 @@ pool:
63
63
vmImage : windows-2019
64
64
65
65
jobs :
66
- - job : CMAKE_BUILD
67
- displayName : CMake using VS Generator
68
- steps :
69
- - checkout : self
70
- clean : true
71
- fetchTags : false
72
- - task : CMake@1
73
- displayName : ' CMake (MSVC): Config x64'
74
- inputs :
75
- cwd : ' $(Build.SourcesDirectory)'
76
- cmakeArgs : >
77
- -G "$(VS_GENERATOR)" -A x64 -B out
78
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
79
- -DBUILD_DX12=OFF
80
- - task : CMake@1
81
- displayName : ' CMake (MSVC): Build x64 Debug'
82
- inputs :
83
- cwd : ' $(Build.SourcesDirectory)'
84
- cmakeArgs : --build out -v --config Debug
85
- - task : CMake@1
86
- displayName : ' CMake (MSVC): Build x64 Release'
87
- inputs :
88
- cwd : ' $(Build.SourcesDirectory)'
89
- cmakeArgs : --build out -v --config RelWithDebInfo
90
- - task : CMake@1
91
- displayName : ' CMake (MSVC): Config x86'
92
- inputs :
93
- cwd : ' $(Build.SourcesDirectory)'
94
- cmakeArgs : >
95
- -G "$(VS_GENERATOR)" -A Win32 -B out2
96
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
97
- -DBUILD_DX12=OFF
98
- - task : CMake@1
99
- displayName : ' CMake (MSVC): Build x86 Debug'
100
- inputs :
101
- cwd : ' $(Build.SourcesDirectory)'
102
- cmakeArgs : --build out2 -v --config Debug
103
- - task : CMake@1
104
- displayName : ' CMake (MSVC): Build x86 Release'
105
- inputs :
106
- cwd : ' $(Build.SourcesDirectory)'
107
- cmakeArgs : --build out2 -v --config RelWithDebInfo
108
- - task : CMake@1
109
- displayName : ' CMake (UWP): Config x64'
110
- inputs :
111
- cwd : ' $(Build.SourcesDirectory)'
112
- cmakeArgs : >
113
- -G "$(VS_GENERATOR)" -A x64 -B out3
114
- -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0
115
- - task : CMake@1
116
- displayName : ' CMake (UWP): Build x64'
117
- inputs :
118
- cwd : ' $(Build.SourcesDirectory)'
119
- cmakeArgs : --build out3 -v
120
- - task : CMake@1
121
- displayName : ' CMake (ClangCl): Config x64'
122
- inputs :
123
- cwd : ' $(Build.SourcesDirectory)'
124
- cmakeArgs : >
125
- -G "$(VS_GENERATOR)" -A x64 -T clangcl -B out4
126
- -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
127
- - task : CMake@1
128
- displayName : ' CMake (ClangCl): Build x64 Debug'
129
- inputs :
130
- cwd : ' $(Build.SourcesDirectory)'
131
- cmakeArgs : --build out4 -v --config Debug
132
- - task : CMake@1
133
- displayName : ' CMake (ClangCl): Build x64 Release'
134
- inputs :
135
- cwd : ' $(Build.SourcesDirectory)'
136
- cmakeArgs : --build out4 -v --config RelWithDebInfo
137
- - task : CMake@1
138
- displayName : ' CMake (Win10): Config'
139
- inputs :
140
- cwd : ' $(Build.SourcesDirectory)'
141
- cmakeArgs : >
142
- -G "$(VS_GENERATOR)" -A x64 -B out5
143
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
144
- -DBUILD_DX12=ON
145
- - task : CMake@1
146
- displayName : ' CMake (Win10): Build'
147
- inputs :
148
- cwd : ' $(Build.SourcesDirectory)'
149
- cmakeArgs : --build out5 -v --config Debug
150
- - task : CMake@1
151
- displayName : ' CMake (MSVC Spectre): Config x64'
152
- inputs :
153
- cwd : ' $(Build.SourcesDirectory)'
154
- cmakeArgs : >
155
- -G "$(VS_GENERATOR)" -A x64 -B out6
156
- -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
157
- -DBUILD_DX12=OFF
158
- - task : CMake@1
159
- displayName : ' CMake (MSVC Spectre): Build x64 Debug'
160
- inputs :
161
- cwd : ' $(Build.SourcesDirectory)'
162
- cmakeArgs : --build out6 -v --config Debug
163
- - task : CMake@1
164
- displayName : ' CMake (MSVC Spectre): Build x64 Release'
165
- inputs :
166
- cwd : ' $(Build.SourcesDirectory)'
167
- cmakeArgs : --build out6 -v --config RelWithDebInfo
168
- - task : CMake@1
169
- displayName : ' CMake (Win10 Spectre): Config'
170
- inputs :
171
- cwd : ' $(Build.SourcesDirectory)'
172
- cmakeArgs : >
173
- -G "$(VS_GENERATOR)" -A x64 -B out7
174
- -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
175
- -DBUILD_DX12=ON
176
- - task : CMake@1
177
- displayName : ' CMake (Win10 Spectre): Build'
178
- inputs :
179
- cwd : ' $(Build.SourcesDirectory)'
180
- cmakeArgs : --build out7 -v --config Debug
181
- - task : CMake@1
182
- displayName : ' CMake (DLL): Config x64'
183
- inputs :
184
- cwd : ' $(Build.SourcesDirectory)'
185
- cmakeArgs : >
186
- -G "$(VS_GENERATOR)" -A x64 -B out8
187
- -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
188
- -DBUILD_DX12=ON
189
- -DBUILD_SHARED_LIBS=ON
190
- - task : CMake@1
191
- displayName : ' CMake (DLL): Build x64 Debug'
192
- inputs :
193
- cwd : ' $(Build.SourcesDirectory)'
194
- cmakeArgs : --build out8 -v --config Debug
195
- - task : CMake@1
196
- displayName : ' CMake (DLL): Build x64 Release'
197
- inputs :
198
- cwd : ' $(Build.SourcesDirectory)'
199
- cmakeArgs : --build out8 -v --config RelWithDebInfo
66
+ - job : CMAKE_BUILD
67
+ displayName : CMake using VS Generator
68
+ steps :
69
+ - checkout : self
70
+ clean : true
71
+ fetchTags : false
72
+ - task : CMake@1
73
+ displayName : ' CMake (MSVC): Config x64'
74
+ inputs :
75
+ cwd : ' $(Build.SourcesDirectory)'
76
+ cmakeArgs : >
77
+ -G "$(VS_GENERATOR)" -A x64 -B out
78
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
79
+ -DBUILD_DX12=OFF
80
+ - task : CMake@1
81
+ displayName : ' CMake (MSVC): Build x64 Debug'
82
+ inputs :
83
+ cwd : ' $(Build.SourcesDirectory)'
84
+ cmakeArgs : --build out -v --config Debug
85
+ - task : CMake@1
86
+ displayName : ' CMake (MSVC): Build x64 Release'
87
+ inputs :
88
+ cwd : ' $(Build.SourcesDirectory)'
89
+ cmakeArgs : --build out -v --config RelWithDebInfo
90
+ - task : CMake@1
91
+ displayName : ' CMake (MSVC): Config x86'
92
+ inputs :
93
+ cwd : ' $(Build.SourcesDirectory)'
94
+ cmakeArgs : >
95
+ -G "$(VS_GENERATOR)" -A Win32 -B out2
96
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
97
+ -DBUILD_DX12=OFF
98
+ - task : CMake@1
99
+ displayName : ' CMake (MSVC): Build x86 Debug'
100
+ inputs :
101
+ cwd : ' $(Build.SourcesDirectory)'
102
+ cmakeArgs : --build out2 -v --config Debug
103
+ - task : CMake@1
104
+ displayName : ' CMake (MSVC): Build x86 Release'
105
+ inputs :
106
+ cwd : ' $(Build.SourcesDirectory)'
107
+ cmakeArgs : --build out2 -v --config RelWithDebInfo
108
+ - task : CMake@1
109
+ displayName : ' CMake (UWP): Config x64'
110
+ inputs :
111
+ cwd : ' $(Build.SourcesDirectory)'
112
+ cmakeArgs : >
113
+ -G "$(VS_GENERATOR)" -A x64 -B out3
114
+ -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0
115
+ - task : CMake@1
116
+ displayName : ' CMake (UWP): Build x64'
117
+ inputs :
118
+ cwd : ' $(Build.SourcesDirectory)'
119
+ cmakeArgs : --build out3 -v
120
+ - task : CMake@1
121
+ displayName : ' CMake (ClangCl): Config x64'
122
+ inputs :
123
+ cwd : ' $(Build.SourcesDirectory)'
124
+ cmakeArgs : >
125
+ -G "$(VS_GENERATOR)" -A x64 -T clangcl -B out4
126
+ -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
127
+ - task : CMake@1
128
+ displayName : ' CMake (ClangCl): Build x64 Debug'
129
+ inputs :
130
+ cwd : ' $(Build.SourcesDirectory)'
131
+ cmakeArgs : --build out4 -v --config Debug
132
+ - task : CMake@1
133
+ displayName : ' CMake (ClangCl): Build x64 Release'
134
+ inputs :
135
+ cwd : ' $(Build.SourcesDirectory)'
136
+ cmakeArgs : --build out4 -v --config RelWithDebInfo
137
+ - task : CMake@1
138
+ displayName : ' CMake (Win10): Config'
139
+ inputs :
140
+ cwd : ' $(Build.SourcesDirectory)'
141
+ cmakeArgs : >
142
+ -G "$(VS_GENERATOR)" -A x64 -B out5
143
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
144
+ -DBUILD_DX12=ON
145
+ - task : CMake@1
146
+ displayName : ' CMake (Win10): Build'
147
+ inputs :
148
+ cwd : ' $(Build.SourcesDirectory)'
149
+ cmakeArgs : --build out5 -v --config Debug
150
+ - task : CMake@1
151
+ displayName : ' CMake (MSVC Spectre): Config x64'
152
+ inputs :
153
+ cwd : ' $(Build.SourcesDirectory)'
154
+ cmakeArgs : >
155
+ -G "$(VS_GENERATOR)" -A x64 -B out6
156
+ -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
157
+ -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
158
+ -DBUILD_DX12=OFF
159
+ - task : CMake@1
160
+ displayName : ' CMake (MSVC Spectre): Build x64 Debug'
161
+ inputs :
162
+ cwd : ' $(Build.SourcesDirectory)'
163
+ cmakeArgs : --build out6 -v --config Debug
164
+ - task : CMake@1
165
+ displayName : ' CMake (MSVC Spectre): Build x64 Release'
166
+ inputs :
167
+ cwd : ' $(Build.SourcesDirectory)'
168
+ cmakeArgs : --build out6 -v --config RelWithDebInfo
169
+ - task : CMake@1
170
+ displayName : ' CMake (Win10 Spectre): Config'
171
+ inputs :
172
+ cwd : ' $(Build.SourcesDirectory)'
173
+ cmakeArgs : >
174
+ -G "$(VS_GENERATOR)" -A x64 -B out7
175
+ -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
176
+ -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
177
+ -DBUILD_DX12=ON
178
+ - task : CMake@1
179
+ displayName : ' CMake (Win10 Spectre): Build'
180
+ inputs :
181
+ cwd : ' $(Build.SourcesDirectory)'
182
+ cmakeArgs : --build out7 -v --config Debug
183
+ - task : CMake@1
184
+ displayName : ' CMake (DLL): Config x64'
185
+ inputs :
186
+ cwd : ' $(Build.SourcesDirectory)'
187
+ cmakeArgs : >
188
+ -G "$(VS_GENERATOR)" -A x64 -B out8
189
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
190
+ -DBUILD_DX12=ON
191
+ -DBUILD_SHARED_LIBS=ON
192
+ - task : CMake@1
193
+ displayName : ' CMake (DLL): Build x64 Debug'
194
+ inputs :
195
+ cwd : ' $(Build.SourcesDirectory)'
196
+ cmakeArgs : --build out8 -v --config Debug
197
+ - task : CMake@1
198
+ displayName : ' CMake (DLL): Build x64 Release'
199
+ inputs :
200
+ cwd : ' $(Build.SourcesDirectory)'
201
+ cmakeArgs : --build out8 -v --config RelWithDebInfo
0 commit comments