summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2021-02-15 09:32:59 +0200
committerToni Saario <toni.saario@qt.io>2021-03-05 11:47:57 +0200
commitb7834eefa615cf2ba2028ec7c7f525b74bdea969 (patch)
tree0a04e4327354c5949f69b3cf8ed12cc516582903
parentc7981e015b04b8c49d9ef9f0d75c26ade7e2fd0c (diff)
Disable module build and tests on documentation target
To build the documentation the module build needs to be skipped because the noop build would result in premature agent exit. Pick-to: 6.1 Change-Id: Ib990c696b6ac0616d9008bbb1219ca05ddbdd92f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--coin/module_config.yaml15
1 files changed, 14 insertions, 1 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index 3a0af89..c716ec3 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -16,7 +16,20 @@ instructions:
- type: EnvironmentVariable
variableName: BUILD_DOCUMENTATION
variableValue: "1"
+ - type: EnvironmentVariable
+ variableName: QT_CI_SKIP_MODULE_BUILD
+ variableValue: "1"
+ enable_if:
+ condition: property
+ property: features
+ contains_value: Documentation
- !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"
Test:
- - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
+ - type: Group
+ instructions:
+ - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
+ disable_if:
+ condition: property
+ property: features
+ contains_value: Documentation