aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_qt_build_docs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/coin_qt_build_docs.yaml')
-rw-r--r--coin/instructions/coin_qt_build_docs.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/coin/instructions/coin_qt_build_docs.yaml b/coin/instructions/coin_qt_build_docs.yaml
new file mode 100644
index 00000000..6f554816
--- /dev/null
+++ b/coin/instructions/coin_qt_build_docs.yaml
@@ -0,0 +1,33 @@
+type: Group
+instructions:
+ - type: ExecuteCommand
+ command: "{{.Env.ENV_PREFIX}} cmake --build . --target qtbase/src/plugins/platforms/all qtbase/src/plugins/sqldrivers/all qttools/all --parallel -v"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: >
+ Failed to build sources.
+ - type: ExecuteCommand
+ command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: >
+ Failed to generate docs.
+ - type: ExecuteCommand
+ command: "cp -r {{.BuildDir}}/qtbase/doc/config {{.BuildDir}}/doc"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: "Failed to copy qtbase/doc/config to documentation directory."
+ - type: ExecuteCommand
+ command: "cp -r {{.BuildDir}}/qtbase/doc/global {{.BuildDir}}/doc"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: "Failed to copy qtbase/doc/global to documentation directory."
+ - type: UploadArtifact
+ archiveDirectory: '{{.BuildDir}}/doc'
+ transferType: UploadModuleDocumentation
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 1800
+enable_if:
+ condition: property
+ property: features
+ contains_value: "Documentation"