2019-08-22 02:19:11 +03:00
|
|
|
# Starter pipeline
|
|
|
|
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
|
|
# Add steps that build, run tests, deploy, and more:
|
|
|
|
# https://aka.ms/yaml
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pool:
|
2019-09-05 03:12:34 +03:00
|
|
|
vmImage: 'windows-2019'
|
2019-09-05 03:06:43 +03:00
|
|
|
timeoutInMinutes: 10
|
2019-08-22 02:19:11 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- script: echo Hello, world!
|
|
|
|
displayName: 'Run a one-line script'
|
|
|
|
|
|
|
|
- script: |
|
|
|
|
echo Add other tasks to build, test, and deploy your project.
|
|
|
|
echo See https://aka.ms/yaml
|
|
|
|
displayName: 'Run a multi-line script'
|
2019-09-05 03:00:23 +03:00
|
|
|
|
2019-09-05 03:47:01 +03:00
|
|
|
- task: NuGetCommand@2
|
|
|
|
displayName: 'NuGet restore'
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(Build.SourcesDirectory)\Forge.sln'
|
|
|
|
|
2019-09-05 03:00:23 +03:00
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: 'Build .NET sln'
|
|
|
|
inputs:
|
|
|
|
solution: '$(Build.SourcesDirectory)\Forge.sln'
|
|
|
|
platform: 'Any CPU'
|
2019-09-05 04:03:33 +03:00
|
|
|
configuration: Release
|
|
|
|
|
|
|
|
- task: VSTest@2
|
|
|
|
inputs:
|
|
|
|
testAssemblyVer2: |
|
2019-09-05 20:13:41 +03:00
|
|
|
$(Build.SourcesDirectory)\Forge.TreeWalker.UnitTests\obj\Release\Forge.TreeWalker.UnitTests.dll
|
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
command: pack
|
|
|
|
packagesToPack: '**/*.csproj'
|