Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build_nonWindows.yml « azure-pipelines - github.com/aspnet/MessagePack-CSharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6b5ac10a83cc529be137db43fa6436b5cb6ec6ce (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 (net5.0)
  inputs:
    command: test
    projects: tests/MessagePack.Tests/MessagePack.Tests.csproj
    arguments: --no-build -c $(BuildConfiguration) -f net5.0 -v n --settings "$(Build.Repository.LocalPath)/azure-pipelines/$(Agent.OS).runsettings"
    testRunTitle: net5.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