-
Notifications
You must be signed in to change notification settings - Fork 3
/
azure-pipelines.yml
44 lines (42 loc) · 1.1 KB
/
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
trigger:
- master
stages:
- stage: build
jobs:
- job: BinaryGo
strategy:
matrix:
Windows:
imageName: 'windows-latest'
pool:
vmImage: $(imageName)
steps:
- task: UseDotNet@2
name: InstallDotNet3
inputs:
version: '3.x'
- task: UseDotNet@2
name: InstallDotNet2
inputs:
version: '2.x'
- task: UseDotNet@2
name: InstallDotNet5
inputs:
version: '5.x'
- task: UseDotNet@2
name: InstallDotNet6
inputs:
version: '6.x'
- task: DotNetCoreCLI@2
name: Build_6X
inputs:
command: 'build'
- task: DotNetCoreCLI@2
name: Test_6X
inputs:
command: 'test'
arguments: '--logger "console;verbosity=detailed;" --collect "Code coverage"'
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: 'JaCoCo'
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage.xml