-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coin: De-duplicate test docs instructions
Add a new coin_test_docs_common.yaml file that contains the common instructions for configuring a documentation warning build. Pick-to: 6.8 Task-number: QTBUG-128730 Change-Id: Ifc86570f3c98e64364f3c2c2bb71f45eaaee0c19 Reviewed-by: Toni Saario <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
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. | ||
- !include "{{qt/qtbase}}/prepare_building_env.yaml" | ||
|
||
- type: EnvironmentVariable | ||
variableName: COIN_CMAKE_ARGS | ||
variableValue: "-DQT_BUILD_TESTS=OFF {{.Env.COIN_TEST_DOCS_CONFIGURE_EXTRA_CMAKE_ARGS}}" | ||
- type: EnvironmentVariable | ||
variableName: CONFIGURE_ENV_PREFIX | ||
variableValue: "{{.Env.ENV_PREFIX}}" | ||
|
||
- type: Group | ||
instructions: | ||
- !include "{{qt/qtbase}}/call_configure_qtbase.yaml" | ||
enable_if: | ||
condition: runtime | ||
env_var: COIN_TEST_DOCS_CALL_QTBASE_CONFIGURE | ||
equals_value: "1" | ||
- type: Group | ||
instructions: | ||
- !include "{{qt/qtbase}}/call_configure_module.yaml" | ||
enable_if: | ||
condition: runtime | ||
env_var: COIN_TEST_DOCS_CALL_QTBASE_CONFIGURE | ||
not_equals_value: "1" | ||
|
||
- 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. |