Skip to content

Commit b92b93e

Browse files
authored
Merge pull request #122 from jjw24/azure-pipelines
Set up CI with Azure Pipelines
2 parents 91e4603 + 10036b1 commit b92b93e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

azure-pipelines.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# .NET Desktop
2+
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
3+
# Add steps that publish symbols, save build artifacts, and more:
4+
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
5+
6+
trigger:
7+
- master
8+
- dev
9+
10+
pool:
11+
vmImage: 'vs2017-win2016' #'windows-latest'
12+
13+
variables:
14+
solution: '**/*.sln'
15+
buildPlatform: 'Any CPU'
16+
buildConfiguration: 'Release'
17+
18+
steps:
19+
- task: NuGetToolInstaller@1
20+
21+
- task: NuGetCommand@2
22+
inputs:
23+
restoreSolution: '$(solution)'
24+
25+
- task: VSBuild@1
26+
inputs:
27+
solution: '$(solution)'
28+
platform: '$(buildPlatform)'
29+
configuration: '$(buildConfiguration)'
30+
31+
- task: VSTest@2
32+
inputs:
33+
platform: '$(buildPlatform)'
34+
configuration: '$(buildConfiguration)'

0 commit comments

Comments
 (0)