Trill/azure-pipelines.yml

46 строки
1013 B
YAML
Исходник Обычный вид История

variables:
solution: 'Sources/Trill.sln'
jobs:
- job: 'CSharp_Windows'
pool:
vmImage: windows-latest
displayName: 'C# (Windows)'
strategy:
maxParallel: 4
matrix:
AnyCPU-Debug:
buildPlatform: 'Any CPU'
buildConfiguration: 'Debug'
AnyCPU-Release:
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
x64-Debug:
buildPlatform: 'x64'
buildConfiguration: 'Debug'
x64-Release:
buildPlatform: 'x64'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
inputs:
versionSpec: '5.8.0'
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: VSTest@2
inputs:
testAssemblyVer2: 'bintest\**\netcoreapp3.1\SimpleTesting.dll'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'