9cd12fad8b
Equals_value check that if the property is same as given value. Equals_property compares properties in this case the OS of target and host. Change-Id: Ica42f0f99562911a97d2f6bd02bd8a6420c980ac Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: 2
|
|
accept_configuration:
|
|
condition: property
|
|
property: features
|
|
not_contains_value: Disable
|
|
|
|
instructions:
|
|
Build:
|
|
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
|
|
- type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/cmake_qtbase_build_instructions.yaml"
|
|
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
|
|
enable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_property: target.os
|
|
- type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/cmake_cross_compilation.yaml"
|
|
disable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_property: target.os
|
|
|
|
Test:
|
|
- type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/cmake_regular_test_instructions.yaml"
|
|
enable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_property: target.os
|
|
- type: EnvironmentVariable
|
|
variableName: Dummy
|
|
variableValue: dummy
|
|
disable_if:
|
|
condition: property
|
|
property: host.os
|
|
equals_property: target.os
|