Skip to content

Commit da9e68e

Browse files
committed
ADO test pipeline updates
1 parent c401f2f commit da9e68e

3 files changed

+22
-1
lines changed

CMakePresets.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,9 @@
381381
{ "name": "x64-Release-ICC" , "configurePreset": "x64-Release-ICC"},
382382

383383
{ "name": "x64-Debug-ICX" , "configurePreset": "x64-Debug-ICX" },
384-
{ "name": "x64-Release-ICX" , "configurePreset": "x64-Release-ICX"}
384+
{ "name": "x64-Release-ICX" , "configurePreset": "x64-Release-ICX"},
385+
386+
{ "name": "x64-Debug-JPEG-PNG" , "configurePreset": "x64-Debug-JPEG-PNG" },
387+
{ "name": "x64-Release-JPEG-PNG", "configurePreset": "x64-Release-JPEG-PNG"}
385388
]
386389
}

build/DirectXTex-GitHub-Test-Dev17.yml

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ variables:
3838
Codeql.Enabled: false
3939
VC_PATH: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
4040
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
41+
GUID_FEED: $(ADOFeedGUID)
4142

4243
jobs:
4344
- job: DESKTOP_BUILD
@@ -61,6 +62,14 @@ jobs:
6162
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxtextest.git Tests
6263
workingDirectory: $(Build.SourcesDirectory)
6364
failOnStderr: true
65+
- task: NuGetToolInstaller
66+
displayName: 'Use NuGet'
67+
- task: NuGetCommand@2
68+
displayName: NuGet restore tests
69+
inputs:
70+
solution: Tests/DirectXTex_Tests_Desktop_2022.sln
71+
feedRestore: $(GUID_FEED)
72+
includeNuGetOrg: false
6473
- task: VSBuild@1
6574
displayName: Build solution DirectXTex_Tests_Desktop_2022.sln 32dbg
6675
inputs:

build/DirectXTex-GitHub-Test.yml

+9
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pool:
3636
variables:
3737
Codeql.Enabled: false
3838
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
39+
GUID_FEED: $(ADOFeedGUID)
3940

4041
jobs:
4142
- job: DESKTOP_BUILD
@@ -59,6 +60,14 @@ jobs:
5960
script: git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxtextest.git Tests
6061
workingDirectory: $(Build.SourcesDirectory)
6162
failOnStderr: true
63+
- task: NuGetToolInstaller
64+
displayName: 'Use NuGet'
65+
- task: NuGetCommand@2
66+
displayName: NuGet restore tests
67+
inputs:
68+
solution: Tests/DirectXTex_Tests_Desktop_2019.sln
69+
feedRestore: $(GUID_FEED)
70+
includeNuGetOrg: false
6271
- task: VSBuild@1
6372
displayName: Build solution DirectXTex_Tests_Desktop_2019.sln 32dbg
6473
inputs:

0 commit comments

Comments
 (0)