-
Notifications
You must be signed in to change notification settings - Fork 17
/
azure-pipelines.yml
49 lines (41 loc) · 1.24 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
# NetOffice Developer Toolbox project build pipeline
pool:
vmImage: 'windows-2019'
variables:
solution: DeveloperToolbox.sln
buildPlatform: Any CPU
buildConfiguration: Debug
BuildNumber: $(Build.BuildId)
steps:
- task: NuGetToolInstaller@0
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: DownloadBuildArtifacts@0
displayName: Download NetOffice assemblies
inputs:
buildType: specific
project: 'NetOffice'
pipeline: 'NetOfficeFw.NetOffice'
buildVersionToDownload: 'latestFromBranch'
artifactName: 'NetOffice Assemblies'
downloadPath: '$(System.ArtifactsDirectory)'
- task: CopyFiles@2
inputs:
sourceFolder: '$(System.ArtifactsDirectory)\NetOffice Assemblies'
targetFolder: 'Libs'
- task: VSBuild@1
displayName: Build NetOffice Developer Toolbox
inputs:
solution: '$(solution)'
vsVersion: '16.0'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
msbuildArgs: '/t:Build'
createLogFile: true
logFileVerbosity: 'detailed'
- task: PublishBuildArtifacts@1
displayName: Publish NetOffice Developer Toolbox binaries
inputs:
pathtoPublish: 'DeveloperToolbox\bin\$(buildConfiguration)'
artifactName: 'NetOffice Developer Toolbox'