b4738ebb1e
During tqtc repo submodule updates, the repo names contain the tqtc- prefix. But during the final tqtc-qt5.git integration, the submodule names don't contain the tqtc- prefix. This causes errors like: CMake Error: Error processing file: /qt-cmake-private-install.cmake Use contains_value in the condition instead of equals_value, to ensure it works for both scenarios. This assumes there will be no repos that contain 'qtbase' in their name which are not the original qtbase repo. Amends 7e334bc7fc4c6c9de379e19076197af5b7fef9ee picked from commit 6556a943ce8625ce1043a2da64deed187b7ce209 in the tqtc repo, so that we don't need to do it for every new lts branch. Change-Id: Ib38c855525c91032d35c235bf33d860204474fe0 Reviewed-by: Toni Saario <toni.saario@qt.io>
25 lines
995 B
YAML
25 lines
995 B
YAML
type: Group
|
|
instructions:
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.ENV_PREFIX}} cmake -DQT_BUILD_DIR={{.BuildDir}} -P {{.Env.COIN_CMAKE_BUILD_LIBEXEC_DIR}}{{.Env.CI_PATH_SEP}}qt-cmake-private-install.cmake"
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
enable_if:
|
|
condition: runtime
|
|
env_var: TESTED_MODULE_COIN
|
|
contains_value: qtbase
|
|
userMessageOnFailure: >
|
|
Failed to install package.
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.ENV_PREFIX}} cmake -DQT_BUILD_DIR={{.BuildDir}} -P {{.Env.COIN_CMAKE_INSTALL_LIBEXEC_DIR}}{{.Env.CI_PATH_SEP}}qt-cmake-private-install.cmake"
|
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
disable_if:
|
|
condition: runtime
|
|
env_var: TESTED_MODULE_COIN
|
|
contains_value: qtbase
|
|
userMessageOnFailure: >
|
|
Failed to install package.
|