@@ -65,7 +65,7 @@ variables:
6565
6666jobs :
6767 - job : BUILD_GDK
68- displayName : ' Microsoft Game Development Kit (Old layouts )'
68+ displayName : ' Microsoft Game Development Kit (Gaming.*.x64 )'
6969 timeoutInMinutes : 120
7070 cancelTimeoutInMinutes : 1
7171 steps :
@@ -135,8 +135,8 @@ jobs:
135135 msVersion : ' 17.0'
136136 vsYear : 2022
137137
138- - job : BUILD_GDKX
139- displayName : ' Microsoft Game Development Kit (GDK x64)'
138+ - job : BUILD_GDKX_SCAR
139+ displayName : ' Microsoft Game Development Kit (x64+Xbox Series X|S )'
140140 timeoutInMinutes : 120
141141 cancelTimeoutInMinutes : 1
142142 steps :
@@ -172,6 +172,71 @@ jobs:
172172 - task : NuGetAuthenticate@1
173173 displayName : ' NuGet Auth'
174174 - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
175+ parameters :
176+ scarlett : true
177+ - task : CopyFiles@2
178+ displayName : Set up Directory.Build.props
179+ inputs :
180+ SourceFolder : build
181+ Contents : ' Directory.Build.props'
182+ TargetFolder : $(Build.SourcesDirectory)
183+ - task : MSBuild@1
184+ displayName : Setup BWOI VCTargets
185+ inputs :
186+ solution : build/SetupBWOI.targets
187+ msbuildArchitecture : x64
188+ msbuildArguments : /p:GDKEditionNumber=$(GDK_EDITION)
189+ - task : MSBuild@1
190+ displayName : Log Information
191+ inputs :
192+ solution : build/LogInfo.targets
193+ msbuildArchitecture : x64
194+ msbuildArguments : /p:GDKEditionNumber=$(GDK_EDITION)
195+ - template : ' /.azuredevops/templates/DirectXTK12-build-gdkx.yml'
196+ parameters :
197+ msVersion : ' 17.0'
198+ vsYear : 2022
199+ xboxone : false
200+
201+ - job : BUILD_GDKX_XBONE
202+ displayName : ' Microsoft Game Development Kit (x64+Xbox One)'
203+ timeoutInMinutes : 120
204+ cancelTimeoutInMinutes : 1
205+ steps :
206+ - checkout : self
207+ clean : true
208+ fetchTags : false
209+ fetchDepth : 1
210+ - task : NuGetToolInstaller@1
211+ displayName : ' Use NuGet'
212+ - task : PowerShell@2
213+ displayName : ' Create nuget.config with single source'
214+ inputs :
215+ targetType : inline
216+ script : |
217+ $xml = @'
218+ <?xml version="1.0" encoding="utf-8"?>
219+ <configuration>
220+ <packageSources>
221+ <clear />
222+ </packageSources>
223+ </configuration>
224+ '@
225+ $xml | Set-Content -Path "$(Build.SourcesDirectory)\NuGet.config"
226+
227+ - task : NuGetCommand@2
228+ # We have to use a nuget.config to provide the feed for the 'nuget install' option.
229+ displayName : ' NuGet set package source to ADO feed'
230+ inputs :
231+ command : custom
232+ arguments : sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config
233+ - task : nuget-security-analysis@0
234+ displayName : ' Secure Supply Chain Analysis'
235+ - task : NuGetAuthenticate@1
236+ displayName : ' NuGet Auth'
237+ - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
238+ parameters :
239+ scarlett : false
175240 - task : CopyFiles@2
176241 displayName : Set up Directory.Build.props
177242 inputs :
@@ -194,9 +259,10 @@ jobs:
194259 parameters :
195260 msVersion : ' 17.0'
196261 vsYear : 2022
262+ scarlett : false
197263
198264 - job : BUILD_GDK_CMAKE_SCAR
199- displayName : ' Microsoft Game Development Kit (GDK) using CMake (Scarlett )'
265+ displayName : ' Microsoft Game Development Kit (GDK) using CMake (Xbox Series X|S )'
200266 timeoutInMinutes : 120
201267 cancelTimeoutInMinutes : 1
202268 steps :
@@ -233,7 +299,6 @@ jobs:
233299 - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
234300 parameters :
235301 scarlett : true
236- xboxone : false
237302 - task : CmdLine@2
238303 displayName : Setup BWOI for GDK command-line
239304 inputs :
@@ -347,7 +412,6 @@ jobs:
347412 - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
348413 parameters :
349414 scarlett : false
350- xboxone : true
351415 - task : CmdLine@2
352416 displayName : Setup BWOI for GDK command-line
353417 inputs :
@@ -467,7 +531,6 @@ jobs:
467531 - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
468532 parameters :
469533 scarlett : false
470- xboxone : true
471534 - task : NuGetCommand@2
472535 displayName : NuGet restore
473536 inputs :
@@ -561,7 +624,6 @@ jobs:
561624 - template : ' /.azuredevops/templates/DirectXTK12-setup-gdk-auto.yml'
562625 parameters :
563626 scarlett : true
564- xboxone : false
565627 - task : NuGetCommand@2
566628 displayName : NuGet restore
567629 inputs :
0 commit comments