1919 - job : DocsSpellcheck
2020 displayName : " Docs: Spellcheck"
2121 pool :
22- vmImage : ubuntu-20.04
22+ vmImage : ubuntu-latest
2323 steps :
2424 - checkout : self # self represents the repo where the initial Pipelines YAML file was found
2525 clean : false # whether to fetch clean each time
5555 - job : WindowsBuild
5656 displayName : Windows Build
5757 pool :
58- vmImage : windows-2019
58+ vmImage : windows-latest
5959 demands : Cmd
6060 steps :
6161 - checkout : self # self represents the repo where the initial Pipelines YAML file was found
6666 displayName : " Use .NET 7 SDK 7.0.100"
6767 inputs :
6868 version : 7.0.100
69- - task : UseDotNet@2
70- displayName : " Use .NET Core Runtime 3.1.10"
71- inputs :
72- packageType : runtime
73- version : 3.1.10
7469 - task : BatchScript@1
7570 displayName : Windows Build
7671 inputs :
@@ -98,37 +93,17 @@ jobs:
9893 parameters :
9994 name : " netfx_tests_windows"
10095 displayName : " .NET Framework Unit Tests (Windows)"
101- vmImage : " windows-2019 "
96+ vmImage : " windows-latest "
10297 scriptFileName : build.cmd
10398 scriptArgs : runTests incremental
10499 outputDirectory : " TestResults"
105100 artifactName : " netfx_tests_windows-$(Build.BuildId)"
106101
107- - template : azure-pipeline.template.yaml
108- parameters :
109- name : " net_core_tests_windows"
110- displayName : " .NET Core Unit Tests (Windows)"
111- vmImage : " windows-2019"
112- scriptFileName : build.cmd
113- scriptArgs : runTestsNetCore incremental
114- outputDirectory : " TestResults"
115- artifactName : " net_core_tests_windows-$(Build.BuildId)"
116-
117- - template : azure-pipeline.template.yaml
118- parameters :
119- name : " net_core_tests_linux"
120- displayName : " .NET Core Unit Tests (Linux)"
121- vmImage : " ubuntu-latest"
122- scriptFileName : " ./build.sh"
123- scriptArgs : runTestsNetCore incremental
124- outputDirectory : " TestResults"
125- artifactName : " net_core_tests_linux-$(Build.BuildId)"
126-
127102 - template : azure-pipeline.template.yaml
128103 parameters :
129104 name : " docfx_test"
130105 displayName : " DocFX warning check"
131- vmImage : " windows-2019 "
106+ vmImage : " windows-latest "
132107 scriptFileName : build.cmd
133108 scriptArgs : docfx
134109 outputDirectory : " TestResults"
@@ -137,53 +112,41 @@ jobs:
137112
138113 - template : azure-pipeline.template.yaml
139114 parameters :
140- name : " net_6_tests_windows "
141- displayName : " .NET 6 Unit Tests (Windows)"
142- vmImage : " windows-2019 "
115+ name : " net_7_tests_windows "
116+ displayName : " .NET 7 Unit Tests (Windows)"
117+ vmImage : " windows-latest "
143118 scriptFileName : build.cmd
144119 scriptArgs : runTestsNet incremental
145120 outputDirectory : " TestResults"
146- artifactName : " net_6_tests_windows -$(Build.BuildId)"
121+ artifactName : " net_7_tests_windows -$(Build.BuildId)"
147122
148123 - template : azure-pipeline.template.yaml
149124 parameters :
150- name : " net_6_tests_linux "
151- displayName : " .NET 6 Unit Tests (Linux)"
125+ name : " net_7_tests_linux "
126+ displayName : " .NET 7 Unit Tests (Linux)"
152127 vmImage : " ubuntu-latest"
153128 scriptFileName : " ./build.sh"
154129 scriptArgs : runTestsNet incremental
155130 outputDirectory : " TestResults"
156- artifactName : " net_6_tests_linux-$(Build.BuildId)"
157-
158- - template : azure-pipeline.mntr-template.yaml
159- parameters :
160- name : " net_core_mntr_windows"
161- displayName : " .NET Core Multi-Node Tests (Windows)"
162- vmImage : " windows-2019"
163- scriptFileName : " build.cmd"
164- scriptArgs : MultiNodeTestsNetCore incremental
165- outputDirectory : " TestResults"
166- artifactName : " net_core_mntr_windows-$(Build.BuildId)"
167- mntrFailuresDir : ' TestResults\\multinode'
168- mntrFailuresArtifactName : " net_core_mntr_FAILED_windows-$(Build.BuildId)"
131+ artifactName : " net_7_tests_linux-$(Build.BuildId)"
169132
170133 - template : azure-pipeline.mntr-template.yaml
171134 parameters :
172- name : " net_6_mntr_windows "
173- displayName : " .NET 6 Multi-Node Tests (Windows)"
174- vmImage : " windows-2019 "
135+ name : " net_7_mntr_windows "
136+ displayName : " .NET 7 Multi-Node Tests (Windows)"
137+ vmImage : " windows-latest "
175138 scriptFileName : " build.cmd"
176139 scriptArgs : MultiNodeTestsNet incremental
177140 outputDirectory : " TestResults"
178- artifactName : " net_6_mntr_windows -$(Build.BuildId)"
141+ artifactName : " net_7_mntr_windows -$(Build.BuildId)"
179142 mntrFailuresDir : ' TestResults\\multinode'
180- mntrFailuresArtifactName : " net_6_mntr_FAILED_windows -$(Build.BuildId)"
143+ mntrFailuresArtifactName : " net_7_mntr_FAILED_windows -$(Build.BuildId)"
181144
182145 - template : azure-pipeline.template.yaml
183146 parameters :
184147 name : " nuget_pack"
185148 displayName : " NuGet Pack"
186- vmImage : " windows-2019 "
149+ vmImage : " windows-latest "
187150 scriptFileName : build.cmd
188151 scriptArgs : CreateNuget nugetprerelease=dev incremental
189152 outputDirectory : " bin/nuget"
0 commit comments