-
Notifications
You must be signed in to change notification settings - Fork 171
/
azure-pipelines.yml
37 lines (35 loc) · 972 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
jobs:
- job: build_windows
pool:
vmImage: 'windows-latest'
steps:
- script: build.bat
displayName: 'Run build and tests'
- task: PublishTestResults@2
displayName: 'Publish test results'
inputs:
testResultsFormat: VSTest
testResultsFiles: 'test/*/TestResults/*.trx'
failTaskOnFailedTests: true
- job: build_linux
pool:
vmImage: 'ubuntu-22.04'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 3'
inputs:
packageType: sdk
version: 3.1.100
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 7'
inputs:
packageType: sdk
version: 7.0.202
- script: ./build.sh
displayName: 'Run build and tests'
- task: PublishTestResults@2
displayName: 'Publish test results'
inputs:
testResultsFormat: VSTest
testResultsFiles: 'test/*/TestResults/*.trx'
failTaskOnFailedTests: true