-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathazure-pipelines.yml
46 lines (37 loc) · 918 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
trigger:
batch: true
pool:
vmImage: windows-latest
variables:
solution: DecodeWheaRecord.sln
buildPlatform: Any CPU
steps:
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
command: restore
restoreSolution: $(solution)
feedsToUse: select
- task: VSBuild@1
inputs:
solution: $(solution)
platform: $(buildPlatform)
configuration: Debug
maximumCpuCount: true
- task: VSBuild@1
inputs:
solution: $(solution)
platform: $(buildPlatform)
configuration: Release
maximumCpuCount: true
- task: VSTest@2
- task: PublishPipelineArtifact@1
inputs:
targetPath: bin/DecodeWheaRecord/Release
artifact: DecodeWheaRecord-$(build.SourceVersion)
publishLocation: pipeline
- task: PublishPipelineArtifact@1
inputs:
targetPath: bin/DecodeWheaRecord/Debug
artifact: DecodeWheaRecord-$(build.SourceVersion)-dbg
publishLocation: pipeline