Revision control

version: 2
accept_configuration:
condition: property
property: features
not_contains_value: Disable
instructions:
Build:
- type: EnvironmentVariable
variableName: VERIFY_SOURCE_SBOM
variableValue: "ON"
- - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"
+ - type: Group
+ disable_if:
+ condition: and
+ conditions:
+ # Disable Windows if it's not MSVC
+ - condition: property
+ property: target.os
+ equals_value: Windows
+ - condition: or
+ conditions:
+ - condition: property
+ property: target.compiler
+ contains_value: Mingw
+ - condition: property
+ property: target.compiler
+ contains_value: Clang
+ instructions:
+ - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"
Test:
- type: Group
+ disable_if:
+ condition: and
+ conditions:
+ # Disable Windows if it's not MSVC
+ - condition: property
+ property: target.os
+ equals_value: Windows
+ - condition: or
+ conditions:
+ - condition: property
+ property: target.compiler
+ contains_value: Mingw
+ - condition: property
+ property: target.compiler
+ contains_value: Clang
instructions:
- !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
- !include "{{qt/qtbase}}/coin_module_test_docs.yaml"