forked from dotnet/roslyn-analyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines-perf.yml
45 lines (41 loc) · 1017 Bytes
/
azure-pipelines-perf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Branches that trigger a build on commit
trigger:
- main
- release/*
- features/*
- 2.9.x
# Branch(es) that trigger(s) build(s) on PR
pr:
- main
- release/*
- features/*
- 2.9.x
jobs:
- job: Performance
strategy:
maxParallel: 4
matrix:
Release:
_configuration: Release
_codeCoverage: False
pool:
name: Hosted VS2017
queue: Windows.10.Amd64.20H2.Owl.Perf
timeoutInMinutes: 150
steps:
- checkout: self
clean: true
- task: PowerShell@2
displayName: Restore
inputs:
filePath: eng\common\build.ps1
arguments: -configuration Release -prepareMachine -ci -restore -binaryLog
- pwsh: eng\perf\PerfCore.ps1 -v diag -diff -ci
displayName: Validate Performance
- task: PublishBuildArtifacts@1
displayName: Publish Performance Results
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts'
ArtifactName: 'Windows Performance Results'
continueOnError: true
condition: always()