Skip to content

Commit

Permalink
coin: Prepare building environment for documentation warning build
Browse files Browse the repository at this point in the history
So that we don't rely on building/running Qt auto tests just to
build the docs.

Change-Id: If3939717c57e8d4074afe0d611a1d04e65da7d36
Reviewed-by: Toni Saario <[email protected]>
(cherry picked from commit 876622c)
Reviewed-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
torarnv authored and alcroito committed Nov 1, 2024
1 parent e72c7e6 commit 65c2600
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions coin/instructions/coin_module_test_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ instructions:
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_DOC_CMAKE_ARGS}}"
- type: EnvironmentVariable
variableName: CONFIGURE_ENV_PREFIX
variableValue: "{{.Env.ENV_PREFIX}}"

- !include "{{qt/qtbase}}/call_configure_module.yaml"

- type: ExecuteCommand
Expand Down
3 changes: 3 additions & 0 deletions coin/instructions/coin_qtbase_test_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ instructions:
userMessageOnFailure: >
Failed to create links to provisioned binaries.
- !include "{{qt/qtbase}}/prepare_building_env.yaml"

- 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
Expand Down

0 comments on commit 65c2600

Please sign in to comment.