summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2021-02-15 09:27:11 +0200
committerToni Saario <toni.saario@qt.io>2021-03-07 16:56:20 +0000
commit4f923348f58fa9106a54d647ea1a4bd49c2f6e2a (patch)
treecd2d3f4b8a772251e0aefc5953df178d87d3f6f2 /coin
parent9c0ba50658d43806cda2c0ba735f373d6c7ad3d9 (diff)
Allow disabling module build and building of tests per module
This patch enables per module control of the build instructions. This enables documentation building in modules that are not capable of building the module itself on linux. Change-Id: I72b7931c5ffda9bf437a99c27c0bb340665ce927 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 6172f3101e6606d48cca8424c5472af1daeefc17)
Diffstat (limited to 'coin')
-rw-r--r--coin/instructions/coin_module_build_template_v2.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/coin/instructions/coin_module_build_template_v2.yaml b/coin/instructions/coin_module_build_template_v2.yaml
index 09bdb25ef0..92532f5cb8 100644
--- a/coin/instructions/coin_module_build_template_v2.yaml
+++ b/coin/instructions/coin_module_build_template_v2.yaml
@@ -3,8 +3,14 @@ instructions:
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
- type: Group
instructions:
- - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
- - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts_host.yaml"
+ - type: Group
+ instructions:
+ - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
+ - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts_host.yaml"
+ disable_if:
+ condition: runtime
+ env_var: QT_CI_SKIP_MODULE_BUILD
+ not_equals_value: null
- !include "{{qt/qtbase}}/cmake_documentation_build.yaml"
enable_if:
condition: and