summaryrefslogtreecommitdiffstats
path: root/coin/instructions/coin_qtbase_test_docs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/coin_qtbase_test_docs.yaml')
-rw-r--r--coin/instructions/coin_qtbase_test_docs.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/coin/instructions/coin_qtbase_test_docs.yaml b/coin/instructions/coin_qtbase_test_docs.yaml
new file mode 100644
index 0000000000..2498f9b393
--- /dev/null
+++ b/coin/instructions/coin_qtbase_test_docs.yaml
@@ -0,0 +1,42 @@
+type: Group
+instructions:
+ - type: EnvironmentVariable
+ variableName: QDOC_NOLINKERRORS
+ variableValue: 1
+ - type: EnvironmentVariable
+ variableName: QDOC_ENABLE_WARNINGLIMIT
+ variableValue: 1
+ - type: SetBuildDirectory
+ directory: "{{.SourceDir}}"
+ - type: ChangeDirectory
+ directory: "{{.BuildDir}}"
+ - type: ExecuteCommand
+ command: "cp -rfs /opt/qt-doctools/. {{.InstallDir}}"
+ userMessageOnFailure: >
+ Failed to create links to provisioned binaries.
+
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_ARGS
+ # Use unix separators even on Windows, to avoid escaping issues in the configure script.
+ variableValue: "-DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX:PATH={{unixPathSeparators .InstallDir}}"
+ - type: EnvironmentVariable
+ variableName: CONFIGURE_ENV_PREFIX
+ variableValue: "{{.Env.ENV_PREFIX}}"
+ - !include "{{qt/qtbase}}/call_configure_qtbase.yaml"
+
+ - type: ExecuteCommand
+ command: "{{.Env.ENV_PREFIX}} cmake --build . --target generate_docs -v"
+ ignoreExitCode: false
+ maxTimeInSeconds: 1800
+ maxTimeBetweenOutput: 900
+ userMessageOnFailure: >
+ Documentation check failed, see the log for details.
+enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: features
+ contains_value: "TestDocs"
+ - condition: property
+ property: host.os
+ equals_property: target.os