forked from dotnet/roslyn-analyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-perf.yml
53 lines (50 loc) · 1.22 KB
/
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
45
46
47
48
49
50
51
52
# Branches that trigger a build on commit
trigger:
- main
- release/*
- features/*
- 2.9.x
# Branch(es) that trigger(s) build(s) on PR
pr:
branches:
include:
- main
- release/*
- features/*
- 2.9.x
paths:
exclude:
- docs/*
- .github/*
- .devcontainer/*
- CODE-OF-CONDUCT.md
- README.md
jobs:
- job: Performance
strategy:
maxParallel: 4
matrix:
Release:
_configuration: Release
_codeCoverage: False
pool:
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022.amd64.open
timeoutInMinutes: 150
steps:
- checkout: self
clean: true
- task: PowerShell@2
displayName: Restore
inputs:
filePath: $(Build.SourcesDirectory)\eng\common\build.ps1
arguments: -configuration Release -prepareMachine -ci -restore -binaryLog
- pwsh: $(Build.SourcesDirectory)\eng\perf\PerfCore.ps1 -v diag -ci
displayName: Validate Performance
- task: PublishBuildArtifacts@1
displayName: Publish Performance Results
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts'
ArtifactName: 'Windows Performance Results'
continueOnError: true
condition: always()