Skip to content

Commit 0cdca78

Browse files
committed
More YAML rework
1 parent daaa357 commit 0cdca78

4 files changed

+170
-183
lines changed

build/DirectXTex-GitHub-CMake-Dev17.yml

+53-53
Original file line numberDiff line numberDiff line change
@@ -80,142 +80,142 @@ jobs:
8080
- task: CMake@1
8181
displayName: 'CMake (MSVC): Config x64'
8282
inputs:
83-
cwd: '$(Build.SourcesDirectory)'
84-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF'
83+
cwd: $(Build.SourcesDirectory)
84+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF
8585
- task: CMake@1
8686
displayName: 'CMake (MSVC): Build x64 Debug'
8787
inputs:
88-
cwd: '$(Build.SourcesDirectory)'
88+
cwd: $(Build.SourcesDirectory)
8989
cmakeArgs: --build out -v --config Debug
9090
- task: CMake@1
9191
displayName: 'CMake (MSVC): Build x64 Release'
9292
inputs:
93-
cwd: '$(Build.SourcesDirectory)'
93+
cwd: $(Build.SourcesDirectory)
9494
cmakeArgs: --build out -v --config RelWithDebInfo
9595
- task: CMake@1
9696
displayName: 'CMake (MSVC): Config x86'
9797
inputs:
98-
cwd: '$(Build.SourcesDirectory)'
99-
cmakeArgs: '-G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF'
98+
cwd: $(Build.SourcesDirectory)
99+
cmakeArgs: -G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF
100100
- task: CMake@1
101101
displayName: 'CMake (MSVC): Build x86 Debug'
102102
inputs:
103-
cwd: '$(Build.SourcesDirectory)'
103+
cwd: $(Build.SourcesDirectory)
104104
cmakeArgs: --build out2 -v --config Debug
105105
- task: CMake@1
106106
displayName: 'CMake (MSVC): Build x86 Release'
107107
inputs:
108-
cwd: '$(Build.SourcesDirectory)'
108+
cwd: $(Build.SourcesDirectory)
109109
cmakeArgs: --build out2 -v --config RelWithDebInfo
110110
- task: CMake@1
111111
displayName: 'CMake (MSVC): Config ARM64'
112112
inputs:
113-
cwd: '$(Build.SourcesDirectory)'
114-
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF'
113+
cwd: $(Build.SourcesDirectory)
114+
cmakeArgs: -G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF
115115
- task: CMake@1
116116
displayName: 'CMake (MSVC): Build ARM64 Debug'
117117
inputs:
118-
cwd: '$(Build.SourcesDirectory)'
118+
cwd: $(Build.SourcesDirectory)
119119
cmakeArgs: --build out3 -v --config Debug
120120
- task: CMake@1
121121
displayName: 'CMake (MSVC): Build ARM64 Release'
122122
inputs:
123-
cwd: '$(Build.SourcesDirectory)'
123+
cwd: $(Build.SourcesDirectory)
124124
cmakeArgs: --build out3 -v --config RelWithDebInfo
125125
- task: CMake@1
126126
displayName: 'CMake (UWP): Config x64'
127127
inputs:
128-
cwd: '$(Build.SourcesDirectory)'
129-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0'
128+
cwd: $(Build.SourcesDirectory)
129+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=10.0
130130
- task: CMake@1
131131
displayName: 'CMake (UWP): Build x64'
132132
inputs:
133-
cwd: '$(Build.SourcesDirectory)'
133+
cwd: $(Build.SourcesDirectory)
134134
cmakeArgs: --build out4 -v
135135
- task: CMake@1
136136
displayName: 'CMake (ClangCl): Config x64'
137137
inputs:
138-
cwd: '$(Build.SourcesDirectory)'
139-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
138+
cwd: $(Build.SourcesDirectory)
139+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
140140
- task: CMake@1
141141
displayName: 'CMake (ClangCl): Build x64 Debug'
142142
inputs:
143-
cwd: '$(Build.SourcesDirectory)'
143+
cwd: $(Build.SourcesDirectory)
144144
cmakeArgs: --build out6 -v --config Debug
145145
- task: CMake@1
146146
displayName: 'CMake (ClangCl): Build x64 Release'
147147
inputs:
148-
cwd: '$(Build.SourcesDirectory)'
148+
cwd: $(Build.SourcesDirectory)
149149
cmakeArgs: --build out6 -v --config RelWithDebInfo
150150
- task: CMake@1
151151
displayName: 'CMake (ClangCl): Config ARM64'
152152
inputs:
153-
cwd: '$(Build.SourcesDirectory)'
154-
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK)'
153+
cwd: $(Build.SourcesDirectory)
154+
cmakeArgs: -G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK)
155155
- task: CMake@1
156156
displayName: 'CMake (ClangCl): Build ARM64'
157157
inputs:
158-
cwd: '$(Build.SourcesDirectory)'
158+
cwd: $(Build.SourcesDirectory)
159159
cmakeArgs: --build out7 -v --config Debug
160160
- task: CMake@1
161161
displayName: 'CMake (Win10): Config'
162162
inputs:
163-
cwd: '$(Build.SourcesDirectory)'
164-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=ON'
163+
cwd: $(Build.SourcesDirectory)
164+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=ON
165165
- task: CMake@1
166166
displayName: 'CMake (Win10): Build'
167167
inputs:
168-
cwd: '$(Build.SourcesDirectory)'
168+
cwd: $(Build.SourcesDirectory)
169169
cmakeArgs: --build out8 -v --config Debug
170170
- task: CMake@1
171171
displayName: 'CMake (MSVC Spectre): Config x64'
172172
inputs:
173-
cwd: '$(Build.SourcesDirectory)'
174-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out9 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF'
173+
cwd: $(Build.SourcesDirectory)
174+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out9 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF
175175
- task: CMake@1
176176
displayName: 'CMake (MSVC Spectre): Build x64 Debug'
177177
inputs:
178-
cwd: '$(Build.SourcesDirectory)'
178+
cwd: $(Build.SourcesDirectory)
179179
cmakeArgs: --build out9 -v --config Debug
180180
- task: CMake@1
181181
displayName: 'CMake (MSVC Spectre): Build x64 Release'
182182
inputs:
183-
cwd: '$(Build.SourcesDirectory)'
183+
cwd: $(Build.SourcesDirectory)
184184
cmakeArgs: --build out9 -v --config RelWithDebInfo
185185
- task: CMake@1
186186
displayName: 'CMake (MSVC Spectre): Config ARM64'
187187
inputs:
188-
cwd: '$(Build.SourcesDirectory)'
189-
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out10 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF'
188+
cwd: $(Build.SourcesDirectory)
189+
cmakeArgs: -G "$(VS_GENERATOR)" -A ARM64 -B out10 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=OFF
190190
- task: CMake@1
191191
displayName: 'CMake (MSVC Spectre): Build ARM64 Debug'
192192
inputs:
193-
cwd: '$(Build.SourcesDirectory)'
193+
cwd: $(Build.SourcesDirectory)
194194
cmakeArgs: --build out10 -v --config Debug
195195
- task: CMake@1
196196
displayName: 'CMake (MSVC Spectre): Build ARM64 Release'
197197
inputs:
198-
cwd: '$(Build.SourcesDirectory)'
198+
cwd: $(Build.SourcesDirectory)
199199
cmakeArgs: --build out10 -v --config RelWithDebInfo
200200
- task: CMake@1
201201
displayName: 'CMake (Win10 Spectre): Config'
202202
inputs:
203-
cwd: '$(Build.SourcesDirectory)'
204-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out11 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=ON'
203+
cwd: $(Build.SourcesDirectory)
204+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out11 -DENABLE_SPECTRE_MITIGATION=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_DX12=ON
205205
- task: CMake@1
206206
displayName: 'CMake (Win10 Spectre): Build'
207207
inputs:
208-
cwd: '$(Build.SourcesDirectory)'
208+
cwd: $(Build.SourcesDirectory)
209209
cmakeArgs: --build out11 -v --config Debug
210210
- task: CMake@1
211211
displayName: 'CMake (NO_WCHAR_T): Config'
212212
inputs:
213-
cwd: '$(Build.SourcesDirectory)'
214-
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out12 -DNO_WCHAR_T=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_DX12=ON'
213+
cwd: $(Build.SourcesDirectory)
214+
cmakeArgs: -G "$(VS_GENERATOR)" -A x64 -B out12 -DNO_WCHAR_T=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_DX12=ON
215215
- task: CMake@1
216216
displayName: 'CMake (NO_WCHAR_T): Build'
217217
inputs:
218-
cwd: '$(Build.SourcesDirectory)'
218+
cwd: $(Build.SourcesDirectory)
219219
cmakeArgs: --build out12 -v --config Debug
220220

221221
- job: CMAKE_BUILD_VCPKG
@@ -240,53 +240,53 @@ jobs:
240240
- task: CmdLine@2
241241
displayName: VCPKG install packages
242242
inputs:
243-
script: call vcpkg install --x-manifest-root=$(VCPKG_MANIFEST_DIR)
243+
script: call vcpkg install --x-manifest-root=$(VCPKG_MANIFEST_DIR) --triplet=x64-windows
244244
workingDirectory: $(VCPKG_ROOT)
245245
- task: CMake@1
246246
displayName: 'CMake (MSVC): Config x64'
247247
inputs:
248-
cwd: '$(Build.SourcesDirectory)'
248+
cwd: $(Build.SourcesDirectory)
249249
cmakeArgs: >
250-
'-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
250+
-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
251251
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-windows
252252
- task: CMake@1
253253
displayName: 'CMake (MSVC): Build x64 Debug'
254254
inputs:
255-
cwd: '$(Build.SourcesDirectory)'
255+
cwd: $(Build.SourcesDirectory)
256256
cmakeArgs: --build out -v --config Debug
257257
- task: CMake@1
258258
displayName: 'CMake (MSVC): Config x64 w/ OpenEXR'
259259
inputs:
260-
cwd: '$(Build.SourcesDirectory)'
260+
cwd: $(Build.SourcesDirectory)
261261
cmakeArgs: >
262-
'-G "$(VS_GENERATOR)" -A x64 -B out2 -DENABLE_OPENEXR_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
263-
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)"
262+
-G "$(VS_GENERATOR)" -A x64 -B out2 -DENABLE_OPENEXR_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
263+
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-windows
264264
- task: CMake@1
265265
displayName: 'CMake (MSVC): Build x64 Debug w/ OpenEXR'
266266
inputs:
267-
cwd: '$(Build.SourcesDirectory)'
267+
cwd: $(Build.SourcesDirectory)
268268
cmakeArgs: --build out2 -v --config Debug
269269
- task: CMake@1
270270
displayName: 'CMake (MSVC): Config x64 w/ libjpeg'
271271
inputs:
272-
cwd: '$(Build.SourcesDirectory)'
272+
cwd: $(Build.SourcesDirectory)
273273
cmakeArgs: >
274-
'-G "$(VS_GENERATOR)" -A x64 -B out3 -DENABLE_LIBJPEG_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
274+
-G "$(VS_GENERATOR)" -A x64 -B out3 -DENABLE_LIBJPEG_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
275275
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-windows
276276
- task: CMake@1
277277
displayName: 'CMake (MSVC): Build x64 Debug w/ libjpeg'
278278
inputs:
279-
cwd: '$(Build.SourcesDirectory)'
279+
cwd: $(Build.SourcesDirectory)
280280
cmakeArgs: --build out3 -v --config Debug
281281
- task: CMake@1
282282
displayName: 'CMake (MSVC): Config x64 w/ libpng'
283283
inputs:
284-
cwd: '$(Build.SourcesDirectory)'
284+
cwd: $(Build.SourcesDirectory)
285285
cmakeArgs: >
286-
'-G "$(VS_GENERATOR)" -A x64 -B out4 -DENABLE_LIBPNG_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)'
286+
-G "$(VS_GENERATOR)" -A x64 -B out4 -DENABLE_LIBPNG_SUPPORT=ON -DBUILD_TESTING=OFF -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK)
287287
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-windows
288288
- task: CMake@1
289289
displayName: 'CMake (MSVC): Build x64 Debug w/ libpng'
290290
inputs:
291-
cwd: '$(Build.SourcesDirectory)'
291+
cwd: $(Build.SourcesDirectory)
292292
cmakeArgs: --build out4 -v --config Debug

0 commit comments

Comments
 (0)