| 1 |
type: Group |
| 2 |
instructions: |
| 3 |
- type: EnvironmentVariable |
| 4 |
variableName: QDOC_NOLINKERRORS |
| 5 |
variableValue: 1 |
| 6 |
- type: EnvironmentVariable |
| 7 |
variableName: QDOC_ENABLE_WARNINGLIMIT |
| 8 |
variableValue: 1 |
| 9 |
- type: SetBuildDirectory |
| 10 |
directory: "{{.SourceDir}}" |
| 11 |
- type: ChangeDirectory |
| 12 |
directory: "{{.BuildDir}}" |
| 13 |
- type: ExecuteCommand |
| 14 |
command: "cp -rfs /opt/qt-doctools/. {{.InstallDir}}" |
| 15 |
userMessageOnFailure: > |
| 16 |
Failed to create links to provisioned binaries. |
| 17 |
enable_if: |
| 18 |
condition: property |
| 19 |
property: features |
| 20 |
not_contains_value: "DocsGenerationV2" |
| 21 |
|
| 22 |
- !include "{{qt/qtbase}}/coin_fetch_doc_tools.yaml" |
| 23 |
|
| 24 |
- !include "{{qt/qtbase}}/prepare_building_env.yaml" |
| 25 |
|
| 26 |
- type: EnvironmentVariable |
| 27 |
variableName: COIN_CMAKE_ARGS |
| 28 |
variableValue: "-DQT_BUILD_TESTS=OFF {{.Env.COIN_TEST_DOCS_CONFIGURE_EXTRA_CMAKE_ARGS}}" |
| 29 |
- type: EnvironmentVariable |
| 30 |
variableName: CONFIGURE_ENV_PREFIX |
| 31 |
variableValue: "{{.Env.ENV_PREFIX}}" |
| 32 |
|
| 33 |
- type: Group |
| 34 |
instructions: |
| 35 |
- !include "{{qt/qtbase}}/call_configure_qtbase.yaml" |
| 36 |
enable_if: |
| 37 |
condition: runtime |
| 38 |
env_var: COIN_TEST_DOCS_CALL_QTBASE_CONFIGURE |
| 39 |
equals_value: "1" |
| 40 |
- type: Group |
| 41 |
instructions: |
| 42 |
- !include "{{qt/qtbase}}/call_configure_module.yaml" |
| 43 |
enable_if: |
| 44 |
condition: runtime |
| 45 |
env_var: COIN_TEST_DOCS_CALL_QTBASE_CONFIGURE |
| 46 |
not_equals_value: "1" |
| 47 |
|
| 48 |
- type: ExecuteCommand |
| 49 |
command: "{{.Env.ENV_PREFIX}} cmake --build . --target generate_docs -v" |
| 50 |
ignoreExitCode: false |
| 51 |
maxTimeInSeconds: 1800 |
| 52 |
maxTimeBetweenOutput: 900 |
| 53 |
userMessageOnFailure: > |
| 54 |
Documentation check failed, see the log for details. |