2019-09-24 04:24:05 +00:00
|
|
|
# .NET Desktop
|
2019-10-12 05:06:16 +00:00
|
|
|
|
2019-09-24 04:24:05 +00:00
|
|
|
# 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-09-26 04:03:40 +00:00
|
|
|
solution: 'Wabbajack.sln'
|
2019-09-24 04:24:05 +00:00
|
|
|
buildPlatform: 'x64'
|
|
|
|
buildConfiguration: 'Debug'
|
|
|
|
|
|
|
|
steps:
|
2019-09-24 20:12:03 +00:00
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
submodules: true
|
|
|
|
|
2019-09-24 04:24:05 +00:00
|
|
|
- task: NuGetToolInstaller@1
|
|
|
|
|
|
|
|
- task: NuGetCommand@2
|
|
|
|
inputs:
|
|
|
|
restoreSolution: '$(solution)'
|
|
|
|
|
|
|
|
- task: VSBuild@1
|
|
|
|
inputs:
|
|
|
|
solution: '$(solution)'
|
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
|
|
|
|
|
|
|
- task: VSTest@2
|
|
|
|
inputs:
|
|
|
|
platform: '$(buildPlatform)'
|
|
|
|
configuration: '$(buildConfiguration)'
|
2019-10-12 05:06:16 +00:00
|
|
|
- task: DownloadSecureFile@1
|
|
|
|
inputs:
|
2019-10-12 05:08:44 +00:00
|
|
|
secureFile: 'CertFile.p12'
|
2019-10-12 05:00:04 +00:00
|
|
|
- task: codesigning@2
|
|
|
|
inputs:
|
2019-10-12 05:08:44 +00:00
|
|
|
secureFileId: 'CertFile.p12'
|
2019-10-12 05:00:04 +00:00
|
|
|
signCertPassword: '$(CertPassword)'
|
|
|
|
files: '$(System.DefaultWorkingDirectory)/Wabbajack/bin/x64/Debug/Wabbajack.exe'
|
|
|
|
timeServer: 'http://timestamp.digicert.com'
|
|
|
|
hashingAlgorithm: 'SHA256'
|
|
|
|
description: 'Wabbajack Modlist Installer'
|
|
|
|
|
2019-10-12 04:34:56 +00:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
2019-10-12 04:51:16 +00:00
|
|
|
PathtoPublish: '$(System.DefaultWorkingDirectory)/Wabbajack/bin/x64/Debug/Wabbajack.exe'
|
2019-10-12 04:34:56 +00:00
|
|
|
ArtifactName: 'Wabbajack.exe'
|
|
|
|
publishLocation: 'Container'
|