linux-packaging-mono/external/cecil/.azure-pipelines.yml
Xamarin Public Jenkins (auto-signing) ef583813eb Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
2019-07-26 19:53:28 +00:00

39 lines
929 B
YAML

trigger:
- master
pr:
- master
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
dotnet build -c Debug Mono.Cecil.sln
displayName: 'Build'
- script: |
dotnet test --no-build -c Debug -f netcoreapp2.1 Mono.Cecil.sln
displayName: 'Test .NET Core'
- task: NuGetToolInstaller@0
displayName: 'Install nuget'
- task: NuGetCommand@2
inputs:
command: 'custom'
arguments: 'install NUnit.Console -Version 3.9.0 -OutputDirectory ./packages'
displayName: 'Get NUnit.Console'
- script: |
mono ./packages/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./Mono.Cecil.nunit
displayName: 'Test .NET 4.0 using Mono'
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- script: |
dotnet build -c Debug Mono.Cecil.sln
displayName: 'Build'
- script: |
dotnet test --no-build -c Debug Mono.Cecil.sln
displayName: 'Test'