-
Notifications
You must be signed in to change notification settings - Fork 168
/
Copy pathtemplate.job.doxygen.yml
51 lines (43 loc) · 1.61 KB
/
template.job.doxygen.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
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/process/templates?view=azure-devops&viewFallbackFrom=vsts#passing-parameters
parameters:
name: ''
vmImage: ''
displayName: ''
jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
pool:
vmImage: ${{ parameters.vmImage }}
strategy:
maxParallel: 2
matrix:
Win32_Release:
BuildPlatform: 'Win32'
Configuration: 'Release'
Win64_Release:
BuildPlatform: 'x64'
Configuration: 'Release'
steps:
# show environmental variables for debug.
- script: set
displayName: Show environmental variables for debug
- script: externals\doxygen\doxygen-1.8.14-setup.exe /silent /suppressmsgboxes
displayName: install doxygen
# Run doxygen
- script: run-doxygen.bat $(BuildPlatform) $(Configuration)
displayName: Run doxygen
# zip files for artifacts
- script: zipArtifacts.bat $(BuildPlatform) $(Configuration)
displayName: Zip files for artifacts
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/copy-files?view=azure-devops&tabs=yaml
- task: CopyFiles@1
displayName: Copy to ArtifactStagingDirectory
inputs:
contents: '**Dev.zip'
targetFolder: $(Build.ArtifactStagingDirectory)
# see https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/build-artifacts?view=azure-devops&tabs=yaml
- task: PublishBuildArtifacts@1
displayName: Publish ArtifactStagingDirectory
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: doxygen_$(BuildPlatform)_$(Configuration)