Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
notpidgey committed Dec 14, 2019
1 parent 9a703b2 commit c6f3b8d
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# .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:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- 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)'

- task: GitHubRelease@0
inputs:
gitHubConnection: LilPidgey
repositoryName: '$(Build.MarketStalker)'
action: 'create' # Options: create, edit, delete
target: '$(Build.SourceVersion)' # Required when action == Create || Action == Edit
tagSource: 'auto' # Required when action == Create# Options: auto, manual
tagPattern: # Optional
tag: # Required when action == Edit || Action == Delete || TagSource == Manual
title: # Optional
releaseNotesSource: 'file' # Optional. Options: file, input
releaseNotesFile: # Optional
releaseNotes: # Optional
assets: '$(Build.ArtifactStagingDirectory)/*' # Optional
assetUploadMode: 'delete' # Optional. Options: delete, replace
isDraft: false # Optional
isPreRelease: false # Optional
addChangeLog: true # Optional

0 comments on commit c6f3b8d

Please sign in to comment.