| 1 |
type: Group |
| 2 |
instructions: |
| 3 |
- type: ChangeDirectory |
| 4 |
directory: "{{.SourceDir}}_build" |
| 5 |
# If documentation feature is present, Coin installs top-level documentation |
| 6 |
# built by product(qt5) build into <module_name>_doc_build/doc. Coin will |
| 7 |
# silently omit installing the top-level documentations if not built by the product. |
| 8 |
- type: ExecuteCommand |
| 9 |
command: "rsync -a {{.SourceDir}}_doc_build/doc {{.SourceDir}}_build" |
| 10 |
maxTimeInSeconds: 300 |
| 11 |
maxTimeBetweenOutput: 300 |
| 12 |
userMessageOnFailure: Failed to copy top-level docs to build dir. |
| 13 |
# Filter list is created to exclude everything else than the |
| 14 |
# generated documentation from the documentation archive. |
| 15 |
- type: CreateFileListFromDirectory |
| 16 |
directory: "{{.SourceDir}}_build/doc" |
| 17 |
filterListFileName: "doc_build_filter" |
| 18 |
userMessageOnFailure: "Failed to create filter list for docs" |
| 19 |
- type: ExecuteCommand |
| 20 |
command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v" |
| 21 |
maxTimeInSeconds: 6000 |
| 22 |
maxTimeBetweenOutput: 1200 |
| 23 |
userMessageOnFailure: Failed to generate documentation. |
| 24 |
- type: UploadArtifact |
| 25 |
archiveDirectory: "{{.SourceDir}}_build/doc" |
| 26 |
transferType: UploadModuleDocumentation |
| 27 |
filterListFileName: "doc_build_filter" |
| 28 |
maxTimeInSeconds: 1200 |
| 29 |
maxTimeBetweenOutput: 1200 |
| 30 |
enable_if: |
| 31 |
condition: and |
| 32 |
conditions: |
| 33 |
- condition: property |
| 34 |
property: features |
| 35 |
contains_value: Documentation |
| 36 |
- condition: runtime |
| 37 |
env_var: BUILD_DOCUMENTATION |
| 38 |
not_equals_value: null |