Skip to content

Commit 89dbd6f

Browse files
Update .vsts-dotnet-ci.yml for Azure Pipelines (#938)
1 parent 24f4c77 commit 89dbd6f

File tree

1 file changed

+106
-49
lines changed

1 file changed

+106
-49
lines changed

.vsts-dotnet-ci.yml

+106-49
Original file line numberDiff line numberDiff line change
@@ -1,167 +1,217 @@
1-
phases:
21

3-
- phase: CreditCardFraudDetection
4-
queue: Hosted VS2017
2+
jobs:
3+
# - job:
4+
# pool:
5+
# vmImage: 'windows-2022'
6+
# steps:
7+
# - task: DotNetCoreCLI@2
8+
# inputs:
9+
# command: 'build'
10+
# projects: '.\samples\csharp\getting-started\DeepLearning_ObjectDetection_Onnx\ObjectDetection.sln'
11+
12+
- job: CreditCardFraudDetection
13+
pool:
14+
vmImage: 'windows-2022'
515
steps:
616
- task: DotNetCoreCLI@2
717
displayName: Build CreditCardFraudDetection (BinaryClassification)
818
inputs:
19+
command: 'build'
920
projects: '.\samples\csharp\getting-started\BinaryClassification_CreditCardFraudDetection\CreditCardFraudDetection.sln'
1021

11-
- phase: CreditCardFraudDetection2
12-
queue: Hosted VS2017
22+
- job: CreditCardFraudDetection2
23+
pool:
24+
vmImage: 'windows-2022'
1325
steps:
1426
- task: DotNetCoreCLI@2
1527
displayName: Build CreditCardFraudDetection (AnomalyDetection)
1628
inputs:
29+
command: 'build'
1730
projects: '.\samples\csharp\getting-started\AnomalyDetection_CreditCardFraudDetection\CreditCardFraudDetection.sln'
1831

19-
- phase: SentimentAnalysis
20-
queue: Hosted VS2017
32+
- job: SentimentAnalysis
33+
pool:
34+
vmImage: 'windows-2022'
2135
steps:
2236
- task: DotNetCoreCLI@2
2337
displayName: Build SentimentAnalysis (BinaryClassification)
2438
inputs:
39+
command: 'build'
2540
projects: '.\samples\csharp\getting-started\BinaryClassification_SentimentAnalysis\SentimentAnalysis-Solution.sln'
2641

27-
- phase: HeartDiseaseDetection
28-
queue: Hosted VS2017
42+
- job: HeartDiseaseDetection
43+
pool:
44+
vmImage: 'windows-2022'
2945
steps:
3046
- task: DotNetCoreCLI@2
3147
displayName: Heart Disease Detection (BinaryClassification)
3248
inputs:
49+
command: 'build'
3350
projects: '.\samples\csharp\getting-started\BinaryClassification_HeartDiseaseDetection\HeartDiseaseDetection.sln'
3451

35-
- phase: SpamDetection
36-
queue: Hosted VS2017
52+
- job: SpamDetection
53+
pool:
54+
vmImage: 'windows-2022'
3755
steps:
3856
- task: DotNetCoreCLI@2
3957
displayName: Spam Detection (BinaryClassification)
4058
inputs:
59+
command: 'build'
4160
projects: '.\samples\csharp\getting-started\BinaryClassification_SpamDetection\SpamDetectionConsoleApp.sln'
4261

43-
- phase: CustomerSegmentation
44-
queue: Hosted VS2017
62+
- job: CustomerSegmentation
63+
pool:
64+
vmImage: 'windows-2022'
4565
steps:
4666
- task: DotNetCoreCLI@2
4767
displayName: Build CustomerSegmentation (Clustering)
4868
inputs:
69+
command: 'build'
4970
projects: '.\samples\csharp\getting-started\Clustering_CustomerSegmentation\CustomerSegmentation.sln'
5071

51-
- phase: IrisClustering
52-
queue: Hosted VS2017
72+
- job: IrisClustering
73+
pool:
74+
vmImage: 'windows-2022'
5375
steps:
5476
- task: DotNetCoreCLI@2
5577
displayName: Build Iris (Clustering)
5678
inputs:
79+
command: 'build'
5780
projects: '.\samples\csharp\getting-started\Clustering_Iris\Clustering_Iris.sln'
5881

59-
- phase: TensorFlowScorer
60-
queue: Hosted VS2017
82+
- job: TensorFlowScorer
83+
pool:
84+
vmImage: 'windows-2022'
6185
steps:
6286
- task: DotNetCoreCLI@2
6387
displayName: TensorFlow Scorer (Image Classification)
6488
inputs:
89+
command: 'build'
6590
projects: '.\samples\csharp\getting-started\DeepLearning_ImageClassification_TensorFlow\TFModelScorer.sln'
6691

67-
- phase: TensorFlowFeaturizerEstimator
68-
queue: Hosted VS2017
92+
- job: TensorFlowFeaturizerEstimator
93+
pool:
94+
vmImage: 'windows-2022'
6995
steps:
7096
- task: DotNetCoreCLI@2
7197
displayName: TensorFlow Featurizer Estimator (Image Classification)
7298
inputs:
99+
command: 'build'
73100
projects: '.\samples\csharp\getting-started\DeepLearning_TensorFlowEstimator\TFFeaturizerEstimator.sln'
74101

75-
- phase: IrisMultiClass
76-
queue: Hosted VS2017
102+
- job: IrisMultiClass
103+
pool:
104+
vmImage: 'windows-2022'
77105
steps:
78106
- task: DotNetCoreCLI@2
79107
displayName: Build Iris (MulticlassClassification)
80108
inputs:
109+
command: 'build'
81110
projects: '.\samples\csharp\getting-started\MulticlassClassification_Iris\MulticlassClassification_Iris.sln'
82111

83-
- phase: BikeSharingDemand
84-
queue: Hosted VS2017
112+
- job: BikeSharingDemand
113+
pool:
114+
vmImage: 'windows-2022'
85115
steps:
86116
- task: DotNetCoreCLI@2
87117
displayName: Build BikeSharingDemand (Regression)
88118
inputs:
119+
command: 'build'
89120
projects: '.\samples\csharp\getting-started\Regression_BikeSharingDemand\BikeSharingDemand.sln'
90121

91-
- phase: TaxiFarePrediction
92-
queue: Hosted VS2017
122+
- job: TaxiFarePrediction
123+
pool:
124+
vmImage: 'windows-2022'
93125
steps:
94126
- task: DotNetCoreCLI@2
95127
displayName: Build TaxiFarePrediction (Regression)
96128
inputs:
129+
command: 'build'
97130
projects: '.\samples\csharp\getting-started\Regression_TaxiFarePrediction\TaxiFarePrediction.sln'
98131

99-
- phase: GitHubLabeler
100-
queue: Hosted VS2017
132+
- job: GitHubLabeler
133+
pool:
134+
vmImage: 'windows-2022'
101135
steps:
102136
- task: DotNetCoreCLI@2
103137
displayName: Build GitHubLabeler
104138
inputs:
139+
command: 'build'
105140
projects: '.\samples\csharp\end-to-end-apps\MulticlassClassification-GitHubLabeler\GitHubLabeler.sln'
106141

107-
- phase: eShopDashboardML
108-
queue: Hosted VS2017
142+
- job: eShopDashboardML
143+
pool:
144+
vmImage: 'windows-2022'
109145
steps:
110146
- task: DotNetCoreCLI@2
111147
displayName: Build eShopDashboardML (Regression)
112148
inputs:
149+
command: 'build'
113150
projects: '.\samples\csharp\end-to-end-apps\Forecasting-Sales\eShopDashboardML.sln'
114151

115-
- phase: MovieRecommenderE2E
116-
queue: Hosted VS2017
152+
- job: MovieRecommenderE2E
153+
pool:
154+
vmImage: 'windows-2022'
117155
steps:
118156
- task: DotNetCoreCLI@2
119157
displayName: Build MovieRecommender E2E (Recommendation)
120158
inputs:
159+
command: 'build'
121160
projects: '.\samples\csharp\end-to-end-apps\Recommendation-MovieRecommender\Recommendation_MovieRecommenderApp.sln'
122161

123-
- phase: MovieRecommenderMF
124-
queue: Hosted VS2017
162+
- job: MovieRecommenderMF
163+
pool:
164+
vmImage: 'windows-2022'
125165
steps:
126166
- task: DotNetCoreCLI@2
127167
displayName: Build MovieRecommender MF (Recommendation)
128168
inputs:
169+
command: 'build'
129170
projects: '.\samples\csharp\getting-started\MatrixFactorization_MovieRecommendation\MovieRecommendation.sln'
130171

131-
- phase: Mnist
132-
queue: Hosted VS2017
172+
- job: Mnist
173+
pool:
174+
vmImage: 'windows-2022'
133175
steps:
134176
- task: DotNetCoreCLI@2
135177
displayName: Build Mnist (MulticlassClassification)
136178
inputs:
179+
command: 'build'
137180
projects: '.\samples\csharp\getting-started\MulticlassClassification_MNIST\MNISTConsoleApp.sln'
138181

139-
- phase: SalesSpikeAndChangeDetection
140-
queue: Hosted VS2017
182+
- job: SalesSpikeAndChangeDetection
183+
pool:
184+
vmImage: 'windows-2022'
141185
steps:
142186
- task: DotNetCoreCLI@2
143187
displayName: Build Sales spike and change Detection (Anomaly Detection)
144188
inputs:
189+
command: 'build'
145190
projects: '.\samples\csharp\getting-started\AnomalyDetection_Sales\SpikeDetection.sln'
146191

147-
- phase: PowerConsumptionAnomalyDetection
148-
queue: Hosted VS2017
192+
- job: PowerConsumptionAnomalyDetection
193+
pool:
194+
vmImage: 'windows-2022'
149195
steps:
150196
- task: DotNetCoreCLI@2
151197
displayName: Build Power Anomaly Detection (Time Series)
152198
inputs:
199+
command: 'build'
153200
projects: '.\samples\csharp\getting-started\AnomalyDetection_PowerMeterReadings\PowerAnomalyDetection.sln'
154201

155-
- phase: ObjectDetectionConsoleApp
156-
queue: Hosted VS2017
202+
- job: ObjectDetectionConsoleApp
203+
pool:
204+
vmImage: 'windows-2022'
157205
steps:
158206
- task: DotNetCoreCLI@2
159207
displayName: Build Object Detection (Onnx Scorer)
160208
inputs:
209+
command: 'build'
161210
projects: '.\samples\csharp\getting-started\DeepLearning_ObjectDetection_Onnx\ObjectDetection.sln'
162211

163-
- phase: ObjectDetectionE2EAPP
164-
queue: Hosted VS2017
212+
- job: ObjectDetectionE2EAPP
213+
pool:
214+
vmImage: 'windows-2022'
165215
steps:
166216
- task: UseDotNet@2
167217
displayName: 'Use .NET Core 3.1'
@@ -172,26 +222,32 @@ phases:
172222
- task: DotNetCoreCLI@2
173223
displayName: Build Object Detection E2E (Onnx Scorer)
174224
inputs:
225+
command: 'build'
175226
projects: '.\samples\csharp\end-to-end-apps\ObjectDetection-Onnx\OnnxObjectDetection.sln'
176227

177-
- phase: SalesSpikeChangeDetectionE2E
178-
queue: Hosted VS2017
228+
- job: SalesSpikeChangeDetectionE2E
229+
pool:
230+
vmImage: 'windows-2022'
179231
steps:
180232
- task: DotNetCoreCLI@2
181233
displayName: Build Sales spike and change Detection E2E(Anomaly Detection)
182234
inputs:
235+
command: 'build'
183236
projects: '.\samples\csharp\end-to-end-apps\AnomalyDetection-Sales\SpikeDetectionTemporaryApp.sln'
184237

185-
- phase: ScalableMLModelOnWebAPIIntegrationPkg
186-
queue: Hosted VS2017
238+
- job: ScalableMLModelOnWebAPIIntegrationPkg
239+
pool:
240+
vmImage: 'windows-2022'
187241
steps:
188242
- task: DotNetCoreCLI@2
189243
displayName: Build Scalable ML Model On WebAPI Integration Pkg
190244
inputs:
245+
command: 'build'
191246
projects: '.\samples\csharp\end-to-end-apps\ScalableMLModelOnWebAPI-IntegrationPkg\ScalableMLModelOnWebAPI-IntegrationPkg.sln'
192247

193-
- phase: DatabaseIntegration
194-
queue: Hosted VS2017
248+
- job: DatabaseIntegration
249+
pool:
250+
vmImage: 'windows-2022'
195251
steps:
196252
- task: UseDotNet@2
197253
displayName: 'Use .NET Core 3.1'
@@ -202,5 +258,6 @@ phases:
202258
- task: DotNetCoreCLI@2
203259
displayName: Build Database Integration
204260
inputs:
261+
command: 'build'
205262
projects: '.\samples\csharp\getting-started\DatabaseIntegration\DatabaseIntegration.sln'
206263

0 commit comments

Comments
 (0)