File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ jobs :
2+ jobs :
3+ - job : Linux
4+ pool :
5+ vmImage : ' ubuntu-18.04'
6+ variables :
7+ buildConfiguration : ' Release'
8+ steps :
9+ - script : cd $(Build.SourcesDirectory) && bash ./build.sh
10+ displayName : ' Linux Build and Tests'
11+ - task : PublishCodeCoverageResults@1
12+
13+
14+ - job : Windows
15+ pool :
16+ vmImage : ' windows-2021'
17+ variables :
18+ buildConfiguration : ' Release'
19+ steps :
20+ - task : DotNetCoreInstaller@0
21+ inputs :
22+ version : ' 3.1.302'
23+ - script : cd $(Build.SourcesDirectory) && dotnet build
24+ displayName : ' Windows Full Build and Tests'
25+ - task : PublishTestResults@2
26+ inputs :
27+ testRunner : VSTest
28+ testResultsFiles : ' **/*.trx'
29+ - task : PublishCodeCoverageResults@1
30+ inputs :
31+ summaryFileLocation : $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml
32+ reportDirectory : $(Build.SourcesDirectory)\artifacts
33+ codecoverageTool : cobertura
You can’t perform that action at this time.
0 commit comments