-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
37 lines (36 loc) · 1.02 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
jobs:
- job: Linux
pool:
vmImage: 'ubuntu 16.04'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
inputs:
version: '3.1.101'
- script: cd $(Build.SourcesDirectory) && bash ./build.sh
displayName: 'Linux Build and Tests'
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
- job: Windows
pool:
vmImage: 'windows-2019'
variables:
buildConfiguration: 'Release'
steps:
- task: DotNetCoreInstaller@0
inputs:
version: '3.1.101'
- script: cd $(Build.SourcesDirectory) && powershell -ExecutionPolicy Unrestricted ./build.ps1 --full
displayName: 'Windows Full Build and Tests'
- task: PublishTestResults@2
inputs:
testRunner: VSTest
testResultsFiles: '**/*.trx'
- task: PublishCodeCoverageResults@1
inputs:
summaryFileLocation: $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml
reportDirectory: $(Build.SourcesDirectory)\artifacts
codecoverageTool: cobertura