blob: cf3f51d763dd277c2fcc69aec8df57c1fdd19749 (
plain)
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
|
steps:
- task: DotNetCoreCLI@2
displayName: Build MessagePack.sln
inputs:
command: build
arguments: --no-restore -c $(BuildConfiguration)
- task: DotNetCoreCLI@2
displayName: Run MessagePack.Tests (netcoreapp3.1)
inputs:
command: test
projects: tests/MessagePack.Tests/MessagePack.Tests.csproj
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
testRunTitle: netcoreapp3.1-$(Agent.JobName)
- task: DotNetCoreCLI@2
displayName: Run MessagePack.Tests (net6.0)
inputs:
command: test
projects: tests/MessagePack.Tests/MessagePack.Tests.csproj
arguments: --no-build -c $(BuildConfiguration) -f net6.0 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
testRunTitle: net6.0-$(Agent.JobName)
- bash: mono ~/.nuget/packages/xunit.runner.console/2.4.1/tools/net472/xunit.console.exe bin/MessagePack.Tests/$(BuildConfiguration)/net472/MessagePack.Tests.dll -html $(BUILD.ARTIFACTSTAGINGDIRECTORY)/build_logs/mono_testrun.html
displayName: Run MessagePack.Tests (mono)
- task: DotNetCoreCLI@2
displayName: Run MessagePackAnalyzer.Tests
inputs:
command: test
projects: tests/MessagePackAnalyzer.Tests/MessagePackAnalyzer.Tests.csproj
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
testRunTitle: netcoreapp3.1-$(Agent.JobName)-Analyzers
- task: DotNetCoreCLI@2
displayName: Run MessagePack.Generator.Tests
inputs:
command: test
projects: tests/MessagePack.Generator.Tests/MessagePack.Generator.Tests.csproj
arguments: --no-build -c $(BuildConfiguration) -f netcoreapp3.1 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
testRunTitle: netcoreapp3.1-$(Agent.JobName)-Generator
|