2018-12-19 20:49:30 +03:00
|
|
|
variables:
|
|
|
|
solution: 'Sources/Trill.sln'
|
|
|
|
|
|
|
|
jobs:
|
2020-12-01 22:57:34 +03:00
|
|
|
- job: 'CSharp_Windows'
|
2018-12-19 20:49:30 +03:00
|
|
|
pool:
|
2020-08-25 06:01:45 +03:00
|
|
|
vmImage: windows-latest
|
2018-12-19 20:49:30 +03:00
|
|
|
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'
|
2020-12-01 22:57:34 +03:00
|
|
|
|
2018-12-19 20:49:30 +03:00
|
|
|
steps:
|
|
|
|
- task: NuGetToolInstaller@0
|
2020-12-01 22:57:34 +03:00
|
|
|
inputs:
|
|
|
|
versionSpec: '5.8.0'
|
2018-12-19 20:49:30 +03:00
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(solution)'
|
|
|
|
|
|
|
|
- task: VSBuild@1
|
|
|
|
inputs:
|
|
|
|
solution: '$(solution)'
|
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
|
|
|
|
|
|
|
- task: VSTest@2
|
|
|
|
inputs:
|
2020-08-25 06:01:45 +03:00
|
|
|
testAssemblyVer2: 'bintest\**\netcoreapp3.1\SimpleTesting.dll'
|
2018-12-19 20:49:30 +03:00
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|