Skip to content

Commit 670cbe6

Browse files
committed
Run functional tests in parallel with perf analysis
1 parent de13412 commit 670cbe6

File tree

1 file changed

+39
-34
lines changed

1 file changed

+39
-34
lines changed

azure-pipelines.yml

Lines changed: 39 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,45 @@ stages:
203203
displayName: npm publish to PublicCI feed
204204
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['System.TeamFoundationCollectionUri'], 'https://dev.azure.com/andrewarnott/'), ne(variables['Build.Reason'], 'PullRequest'))
205205
206+
- stage: Test
207+
displayName: Functional testing
208+
jobs:
209+
- job: linux
210+
strategy:
211+
matrix:
212+
xenial:
213+
containerImage: xenial
214+
configureContainerCommand: 'sudo apt update && sudo apt-get install -y git'
215+
Ubuntu_Bionic_2_1:
216+
containerImage: bionic-2.1
217+
Ubuntu_Bionic:
218+
containerImage: bionic
219+
Ubuntu_Focal:
220+
containerImage: focal
221+
Ubuntu_Disco_3_0:
222+
containerImage: disco-3.0
223+
Arch_Linux:
224+
containerImage: archlinux
225+
configureContainerCommand: 'sudo pacman -Sy --noconfirm git dotnet-sdk openssl-1.0'
226+
pool:
227+
vmImage: ubuntu-20.04
228+
container: $[ variables['containerImage'] ]
229+
steps:
230+
- bash: $(configureContainerCommand)
231+
displayName: Configure container
232+
condition: ne(variables['configureContainerCommand'], '')
233+
- template: azure-pipelines/xplattest-pipeline.yml
234+
235+
- job: macOS
236+
pool:
237+
vmImage: macOS-10.15
238+
steps:
239+
- template: azure-pipelines/xplattest-pipeline.yml
240+
241+
- stage: PerfAnalysis
242+
displayName: Perf analysis
243+
dependsOn: []
244+
jobs:
206245
- job: PerfTest
207246
strategy:
208247
matrix:
@@ -274,37 +313,3 @@ stages:
274313
ArtifactType: Container
275314
displayName: Publish benchmarks artifacts
276315
condition: succeededOrFailed()
277-
278-
- stage: Test
279-
jobs:
280-
- job: linux
281-
strategy:
282-
matrix:
283-
xenial:
284-
containerImage: xenial
285-
configureContainerCommand: 'sudo apt update && sudo apt-get install -y git'
286-
Ubuntu_Bionic_2_1:
287-
containerImage: bionic-2.1
288-
Ubuntu_Bionic:
289-
containerImage: bionic
290-
Ubuntu_Focal:
291-
containerImage: focal
292-
Ubuntu_Disco_3_0:
293-
containerImage: disco-3.0
294-
Arch_Linux:
295-
containerImage: archlinux
296-
configureContainerCommand: 'sudo pacman -Sy --noconfirm git dotnet-sdk openssl-1.0'
297-
pool:
298-
vmImage: ubuntu-20.04
299-
container: $[ variables['containerImage'] ]
300-
steps:
301-
- bash: $(configureContainerCommand)
302-
displayName: Configure container
303-
condition: ne(variables['configureContainerCommand'], '')
304-
- template: azure-pipelines/xplattest-pipeline.yml
305-
306-
- job: macOS
307-
pool:
308-
vmImage: macOS-10.15
309-
steps:
310-
- template: azure-pipelines/xplattest-pipeline.yml

0 commit comments

Comments
 (0)