File tree Expand file tree Collapse file tree 1 file changed +25
-20
lines changed
Expand file tree Collapse file tree 1 file changed +25
-20
lines changed Original file line number Diff line number Diff line change 1- # .NET Desktop
2- # Build and run tests for .NET Desktop or Windows classic desktop solutions.
3- # Add steps that publish symbols, save build artifacts, and more:
4- # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
5-
61trigger :
72- main
83
@@ -14,20 +9,30 @@ variables:
149 buildPlatform : ' Any CPU'
1510 buildConfiguration : ' Release'
1611
17- steps :
18- - task : NuGetToolInstaller@1
19-
20- - task : NuGetCommand@2
21- inputs :
22- restoreSolution : ' $(solution)'
12+ jobs :
13+ - job : Restore
14+ displayName : ' Restore NuGet Packages'
15+ steps :
16+ - task : NuGetToolInstaller@1
17+ - task : NuGetCommand@2
18+ inputs :
19+ restoreSolution : ' $(solution)'
2320
24- - task : VSBuild@1
25- inputs :
26- solution : ' $(solution)'
27- platform : ' $(buildPlatform)'
28- configuration : ' $(buildConfiguration)'
21+ - job : Build
22+ displayName : ' Build Solution'
23+ dependsOn : Restore
24+ steps :
25+ - task : VSBuild@1
26+ inputs :
27+ solution : ' $(solution)'
28+ platform : ' $(buildPlatform)'
29+ configuration : ' $(buildConfiguration)'
2930
30- - task : VSTest@2
31- inputs :
32- platform : ' $(buildPlatform)'
33- configuration : ' $(buildConfiguration)'
31+ - job : Test
32+ displayName : ' Run Tests'
33+ dependsOn : Build
34+ steps :
35+ - task : VSTest@2
36+ inputs :
37+ platform : ' $(buildPlatform)'
38+ configuration : ' $(buildConfiguration)'
You can’t perform that action at this time.
0 commit comments