@@ -27,6 +27,11 @@ resources:
2727 - repository : self
2828 type : git
2929 ref : refs/heads/main
30+ - repository : testRepo
31+ name : walbourn/directxmathtest
32+ type : github
33+ endpoint : microsoft
34+ ref : refs/heads/main
3035
3136name : $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
3237
3641variables :
3742 Codeql.Enabled : false
3843 VC_PATH : ' C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
39- GITHUB_PAT : $(GITHUBPUBLICTOKEN)
4044
4145jobs :
4246- job : BUILD_DEV17
@@ -46,17 +50,14 @@ jobs:
4650 - checkout : self
4751 clean : true
4852 fetchTags : false
49- - task : DeleteFiles@1
50- displayName : Delete files from Tests
51- inputs :
52- SourceFolder : Tests
53- Contents : ' **'
54- RemoveSourceFolder : true
55- RemoveDotFiles : true
56- - task : CmdLine@2
53+ fetchDepth : 1
54+ path : ' s'
55+ - checkout : testRepo
5756 displayName : Fetch Tests
58- inputs :
59- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
57+ clean : true
58+ fetchTags : false
59+ fetchDepth : 1
60+ path : ' s/Tests'
6061 - task : VSBuild@1
6162 displayName : Build solution math3_2022.sln x86dbg
6263 inputs :
@@ -339,19 +340,14 @@ jobs:
339340 - checkout : self
340341 clean : true
341342 fetchTags : false
342- - task : DeleteFiles@1
343- displayName : Delete files from Tests
344- inputs :
345- SourceFolder : Tests
346- Contents : ' **'
347- RemoveSourceFolder : true
348- RemoveDotFiles : true
349- - task : CmdLine@2
343+ fetchDepth : 1
344+ path : ' s'
345+ - checkout : testRepo
350346 displayName : Fetch Tests
351- inputs :
352- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
353- workingDirectory : $(Build.SourcesDirectory)
354- failOnStderr : true
347+ clean : true
348+ fetchTags : false
349+ fetchDepth : 1
350+ path : ' s/Tests '
355351 - task : CmdLine@2
356352 displayName : Setup environment for CMake to use VS
357353 inputs :
@@ -417,19 +413,14 @@ jobs:
417413 - checkout : self
418414 clean : true
419415 fetchTags : false
420- - task : DeleteFiles@1
421- displayName : Delete files from Tests
422- inputs :
423- SourceFolder : Tests
424- Contents : ' **'
425- RemoveSourceFolder : true
426- RemoveDotFiles : true
427- - task : CmdLine@2
416+ fetchDepth : 1
417+ path : ' s'
418+ - checkout : testRepo
428419 displayName : Fetch Tests
429- inputs :
430- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/walbourn/directxmathtest.git Tests
431- workingDirectory : $(Build.SourcesDirectory)
432- failOnStderr : true
420+ clean : true
421+ fetchTags : false
422+ fetchDepth : 1
423+ path : ' s/Tests '
433424 - task : CmdLine@2
434425 displayName : Setup environment for CMake to use VS
435426 inputs :
0 commit comments