forked from microsoft/sarif-pattern-matcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
44 lines (37 loc) · 965 Bytes
/
azure-pipelines.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
pr:
- "main"
jobs:
- job: NET_pipeline
strategy:
matrix:
linux:
imageName: "ubuntu-20.04"
mac:
imageName: "macOS-latest"
windows:
imageName: "windows-latest"
maxParallel: 4
pool:
vmImage: $(imageName)
steps:
- task: UseDotNet@2
displayName: .NET Core 3.1 sdk
inputs:
version: "3.1.x"
packageType: sdk
- task: UseDotNet@2
displayName: .NET Core 6.0 sdk
inputs:
version: "6.0.x"
packageType: sdk
- task: PowerShell@2
displayName: Build and Test
inputs:
targetType: filePath
filePath: ./scripts/BuildAndTest.ps1
arguments: "-Configuration Release -EnableCoverage"
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: "**/*.trx"
- task: ComponentGovernanceComponentDetection@0