forked from drewnoakes/string-theory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
54 lines (45 loc) · 1.28 KB
/
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
47
48
49
50
51
52
53
54
pool:
vmImage: 'VS2017-Win2016'
variables:
solution: 'StringTheory.sln'
buildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
displayName: 'Restore packages for Microsoft.Diagnostics.Runtime'
inputs:
command: 'restore'
restoreSolution: 'clrmd\Microsoft.Diagnostics.Runtime.sln'
feedsToUse: 'config'
nugetConfigPath: 'clrmd\NuGet.config'
- task: NuGetCommand@2
displayName: 'Restore packages for StringTheory'
inputs:
command: 'restore'
restoreSolution: '$(solution)'
- task: VSBuild@1
displayName: 'Build x86 (Release)'
inputs:
solution: '$(solution)'
platform: 'x86'
configuration: '$(buildConfiguration)'
- task: CopyFiles@2
inputs:
sourceFolder: StringTheory\bin\x86\Release
contents: '**\!(*.xml)'
targetFolder: $(Build.ArtifactStagingDirectory)\x86
- task: VSBuild@1
displayName: 'Build x64 (Release)'
inputs:
solution: '$(solution)'
platform: 'x64'
configuration: '$(buildConfiguration)'
- task: CopyFiles@2
inputs:
sourceFolder: StringTheory\bin\x64\Release
contents: '**\!(*.xml)'
targetFolder: $(Build.ArtifactStagingDirectory)\x64
- task: PublishPipelineArtifact@0
inputs:
artifactName: 'StringTheory'
targetPath: $(Build.ArtifactStagingDirectory)