2019-11-12 18:18:39 -05:00
|
|
|
# .NET Desktop
|
|
|
|
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
|
|
|
|
# Add steps that publish symbols, save build artifacts, and more:
|
|
|
|
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pool:
|
|
|
|
vmImage: 'windows-latest'
|
|
|
|
|
|
|
|
variables:
|
2019-11-12 18:24:43 -05:00
|
|
|
solution: '**/Simitone.sln'
|
2019-11-12 18:18:39 -05:00
|
|
|
buildPlatform: 'Any CPU'
|
|
|
|
buildConfiguration: 'Release'
|
|
|
|
|
|
|
|
steps:
|
2019-11-12 18:24:43 -05:00
|
|
|
- checkout: self
|
|
|
|
submodules: recursive
|
|
|
|
persistCredentials: true
|
2019-11-12 19:25:15 -05:00
|
|
|
|
2019-11-12 20:07:56 -05:00
|
|
|
- powershell: cd ./FreeSO/Other/libs/FSOMonoGame/; ./protobuild.exe --generate; cd ../../../../
|
2019-11-12 19:25:15 -05:00
|
|
|
name: Protobuild
|
2019-11-12 19:39:25 -05:00
|
|
|
continueOnError: true
|
2019-11-12 19:25:15 -05:00
|
|
|
|
2019-11-12 18:18:39 -05:00
|
|
|
- task: NuGetToolInstaller@1
|
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(solution)'
|
|
|
|
|
|
|
|
- task: VSBuild@1
|
|
|
|
inputs:
|
|
|
|
solution: '$(solution)'
|
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
2019-11-12 20:11:12 -05:00
|
|
|
msbuildArgs: /t:Simitone_Windows
|
2019-11-12 18:18:39 -05:00
|
|
|
|
|
|
|
- task: VSTest@2
|
|
|
|
inputs:
|
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|