19
19
- job : DocsSpellcheck
20
20
displayName : " Docs: Spellcheck"
21
21
pool :
22
- vmImage : ubuntu-20.04
22
+ vmImage : ubuntu-latest
23
23
steps :
24
24
- checkout : self # self represents the repo where the initial Pipelines YAML file was found
25
25
clean : false # whether to fetch clean each time
55
55
- job : WindowsBuild
56
56
displayName : Windows Build
57
57
pool :
58
- vmImage : windows-2019
58
+ vmImage : windows-latest
59
59
demands : Cmd
60
60
steps :
61
61
- checkout : self # self represents the repo where the initial Pipelines YAML file was found
66
66
displayName : " Use .NET 7 SDK 7.0.100"
67
67
inputs :
68
68
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
74
69
- task : BatchScript@1
75
70
displayName : Windows Build
76
71
inputs :
@@ -98,37 +93,17 @@ jobs:
98
93
parameters :
99
94
name : " netfx_tests_windows"
100
95
displayName : " .NET Framework Unit Tests (Windows)"
101
- vmImage : " windows-2019 "
96
+ vmImage : " windows-latest "
102
97
scriptFileName : build.cmd
103
98
scriptArgs : runTests incremental
104
99
outputDirectory : " TestResults"
105
100
artifactName : " netfx_tests_windows-$(Build.BuildId)"
106
101
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
-
127
102
- template : azure-pipeline.template.yaml
128
103
parameters :
129
104
name : " docfx_test"
130
105
displayName : " DocFX warning check"
131
- vmImage : " windows-2019 "
106
+ vmImage : " windows-latest "
132
107
scriptFileName : build.cmd
133
108
scriptArgs : docfx
134
109
outputDirectory : " TestResults"
@@ -137,53 +112,41 @@ jobs:
137
112
138
113
- template : azure-pipeline.template.yaml
139
114
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 "
143
118
scriptFileName : build.cmd
144
119
scriptArgs : runTestsNet incremental
145
120
outputDirectory : " TestResults"
146
- artifactName : " net_6_tests_windows -$(Build.BuildId)"
121
+ artifactName : " net_7_tests_windows -$(Build.BuildId)"
147
122
148
123
- template : azure-pipeline.template.yaml
149
124
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)"
152
127
vmImage : " ubuntu-latest"
153
128
scriptFileName : " ./build.sh"
154
129
scriptArgs : runTestsNet incremental
155
130
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)"
169
132
170
133
- template : azure-pipeline.mntr-template.yaml
171
134
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 "
175
138
scriptFileName : " build.cmd"
176
139
scriptArgs : MultiNodeTestsNet incremental
177
140
outputDirectory : " TestResults"
178
- artifactName : " net_6_mntr_windows -$(Build.BuildId)"
141
+ artifactName : " net_7_mntr_windows -$(Build.BuildId)"
179
142
mntrFailuresDir : ' TestResults\\multinode'
180
- mntrFailuresArtifactName : " net_6_mntr_FAILED_windows -$(Build.BuildId)"
143
+ mntrFailuresArtifactName : " net_7_mntr_FAILED_windows -$(Build.BuildId)"
181
144
182
145
- template : azure-pipeline.template.yaml
183
146
parameters :
184
147
name : " nuget_pack"
185
148
displayName : " NuGet Pack"
186
- vmImage : " windows-2019 "
149
+ vmImage : " windows-latest "
187
150
scriptFileName : build.cmd
188
151
scriptArgs : CreateNuget nugetprerelease=dev incremental
189
152
outputDirectory : " bin/nuget"
0 commit comments