GHA and ADO pipeline updates (#623)

This commit is contained in:
Chuck Walbourn
2025-07-22 16:22:37 -07:00
committed by GitHub
parent 32b2a8ef35
commit 9a84cfdc5e
17 changed files with 585 additions and 310 deletions

View File

@@ -58,7 +58,7 @@ resources:
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
pool:
vmImage: windows-2019
vmImage: windows-2022
variables:
- group: dxtex-shared-variables
@@ -66,6 +66,8 @@ variables:
value: false
- name: EXTRACTED_FOLDER
value: '$(ExtractedFolder)'
- name: GDK_EDITION
value: $(GDKEditionNumber)
- name: GDKEnableBWOI
value: true
- name: URL_FEED
@@ -109,16 +111,13 @@ jobs:
displayName: 'Secure Supply Chain Analysis'
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
- task: NuGetCommand@2
displayName: NuGet install PGDK
- task: PowerShell@2
displayName: 'NuGet Install GDK'
inputs:
command: custom
arguments: install -prerelease Microsoft.GDK.PC.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
- task: NuGetCommand@2
displayName: NuGet install GDKX
inputs:
command: custom
arguments: install -prerelease Microsoft.GDK.Xbox.$(GDK_EDITION) -ExcludeVersion -OutputDirectory $(EXTRACTED_FOLDER)
targetType: filePath
filePath: ./build/RestoreGDK.ps1
arguments: -GDKEditionNumber $(GDK_EDITION) -OutputDirectory $(EXTRACTED_FOLDER)
failOnStderr: true
- task: CopyFiles@2
displayName: Set up Directory.Build.props
inputs:
@@ -129,10 +128,9 @@ jobs:
displayName: Setup BWOI VCTargets
inputs:
solution: build/SetupBWOI.targets
msbuildVersion: 16.0
msbuildArchitecture: x64
msbuildArguments: /p:GDKEditionNumber=$(GDK_EDITION)
- template: '/.azuredevops/templates/DirectXTex-build-gdk.yml'
parameters:
msVersion: '16.0'
msVersion: '17.0'
vsYear: 2019