9c76047b07
When building for qemu, the target "os" is still set to Linux, so try to detect qemu by looking at the version field. Change-Id: I7c66cdb29a47a44d5b8a394977136139fc646155 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
29 lines
882 B
YAML
29 lines
882 B
YAML
type: Group
|
|
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.yaml"
|
|
enable_if:
|
|
condition: and
|
|
conditions:
|
|
- condition: property
|
|
property: host.os
|
|
equals_property: target.os
|
|
- condition: property
|
|
property: target.osVersion
|
|
not_equals_value: QEMU
|
|
- type: Group
|
|
instructions:
|
|
- !include "{{qt/qtbase}}/cmake_cross_compilation_module_build_instructions.yaml"
|
|
disable_if:
|
|
condition: and
|
|
conditions:
|
|
- condition: property
|
|
property: host.os
|
|
equals_property: target.os
|
|
- condition: property
|
|
property: target.osVersion
|
|
not_equals_value: QEMU
|