Add QNX8.0 CI enablers
Task-number: QTBUG-131708 Pick-to: 6.9 6.8 Change-Id: I60c1be5fc117e5861147d9b194106b63a8b62aab Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
32d23904b2
commit
f673d38129
@ -21,8 +21,8 @@ instructions:
|
|||||||
variableValue: " {{.SourceDir}}/coin_qnx_qemu_runner.sh"
|
variableValue: " {{.SourceDir}}/coin_qnx_qemu_runner.sh"
|
||||||
enable_if:
|
enable_if:
|
||||||
condition: property
|
condition: property
|
||||||
property: target.osVersion
|
property: target.os
|
||||||
in_values: [QNX_710]
|
equals_value: QNX
|
||||||
- type: AppendToEnvironmentVariable
|
- type: AppendToEnvironmentVariable
|
||||||
variableName: TESTRUNNER
|
variableName: TESTRUNNER
|
||||||
variableValue: " {{.AgentWorkingDir}}/coin_vxworks_qemu_runner.sh"
|
variableValue: " {{.AgentWorkingDir}}/coin_vxworks_qemu_runner.sh"
|
||||||
|
@ -18,7 +18,7 @@ instructions:
|
|||||||
equals_property: target.os
|
equals_property: target.os
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
not_in_values: [QEMU, QNX_710, VxWorks]
|
not_in_values: [QEMU, QNX_710, QNX_800, VxWorks]
|
||||||
- type: Group
|
- type: Group
|
||||||
instructions:
|
instructions:
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
@ -32,7 +32,7 @@ instructions:
|
|||||||
equals_property: target.os
|
equals_property: target.os
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
not_in_values: [QEMU, QNX_710, VxWorks]
|
not_in_values: [QEMU, QNX_710, QNX_800, VxWorks]
|
||||||
- type: Group
|
- type: Group
|
||||||
instructions:
|
instructions:
|
||||||
- !include "{{qt/qtbase}}/cmake_setup_running_qnxqemu_tests_env_vars.yaml"
|
- !include "{{qt/qtbase}}/cmake_setup_running_qnxqemu_tests_env_vars.yaml"
|
||||||
@ -40,8 +40,8 @@ instructions:
|
|||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.os
|
||||||
equals_value: QNX_710
|
equals_value: QNX
|
||||||
- condition: property
|
- condition: property
|
||||||
property: features
|
property: features
|
||||||
not_contains_value: DisableTests
|
not_contains_value: DisableTests
|
||||||
|
@ -64,7 +64,7 @@ instructions:
|
|||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, QNX_800, WebAssembly, INTEGRITY, VxWorks]
|
||||||
- condition: and
|
- condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
|
@ -73,8 +73,8 @@ instructions:
|
|||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.os
|
||||||
equals_value: QNX_710
|
equals_value: QNX
|
||||||
- condition: property
|
- condition: property
|
||||||
property: features
|
property: features
|
||||||
not_contains_value: DisableTests
|
not_contains_value: DisableTests
|
||||||
|
@ -24,7 +24,7 @@ instructions:
|
|||||||
equals_property: target.os
|
equals_property: target.os
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
in_values: [QEMU, QNX_710]
|
in_values: [QEMU, QNX_710, QNX_800]
|
||||||
disable_if:
|
disable_if:
|
||||||
condition: or
|
condition: or
|
||||||
conditions:
|
conditions:
|
||||||
|
@ -22,7 +22,7 @@ instructions:
|
|||||||
equals_property: target.os
|
equals_property: target.os
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
in_values: [QEMU, QNX_710, IOS_ANY]
|
in_values: [QEMU, QNX_710, QNX_800, IOS_ANY]
|
||||||
- condition: property
|
- condition: property
|
||||||
property: features
|
property: features
|
||||||
contains_value: AndroidTestRun
|
contains_value: AndroidTestRun
|
||||||
|
@ -52,7 +52,7 @@ instructions:
|
|||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.osVersion
|
property: target.osVersion
|
||||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, QNX_800, WebAssembly, INTEGRITY, VxWorks]
|
||||||
- condition: and
|
- condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
|
@ -369,6 +369,22 @@ instructions:
|
|||||||
variableValue: "{{.Env.VXWORKS_HOME}}/wrenv.linux"
|
variableValue: "{{.Env.VXWORKS_HOME}}/wrenv.linux"
|
||||||
|
|
||||||
# QNX variables
|
# QNX variables
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: QNX_ACTIVE
|
||||||
|
variableValue: "{{.Env.QNX_710}}"
|
||||||
|
enable_if:
|
||||||
|
condition: property
|
||||||
|
property: target.osVersion
|
||||||
|
equals_value: QNX_710
|
||||||
|
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: QNX_ACTIVE
|
||||||
|
variableValue: "{{.Env.QNX_800}}"
|
||||||
|
enable_if:
|
||||||
|
condition: property
|
||||||
|
property: target.osVersion
|
||||||
|
equals_value: QNX_800
|
||||||
|
|
||||||
- type: Group
|
- type: Group
|
||||||
enable_if:
|
enable_if:
|
||||||
condition: and
|
condition: and
|
||||||
@ -380,63 +396,45 @@ instructions:
|
|||||||
property: target.os
|
property: target.os
|
||||||
equals_value: QNX
|
equals_value: QNX
|
||||||
instructions:
|
instructions:
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_TARGET
|
|
||||||
variableValue: "{{.Env.QNX_710}}/target/qnx7"
|
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: QNX_CONFIGURATION_EXCLUSIVE
|
variableName: QNX_CONFIGURATION_EXCLUSIVE
|
||||||
variableValue: "{{.Env.HOME}}/.qnx"
|
variableValue: "{{.Env.HOME}}/.qnx"
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: QNX_CONFIGURATION
|
variableName: QNX_CONFIGURATION
|
||||||
variableValue: "{{.Env.HOME}}/.qnx"
|
variableValue: "{{.Env.HOME}}/.qnx"
|
||||||
- type: PrependToEnvironmentVariable
|
|
||||||
variableName: PATH
|
|
||||||
variableValue: "{{.Env.QNX_710}}/host/linux/x86_64/usr/bin:"
|
|
||||||
- type: PrependToEnvironmentVariable
|
|
||||||
variableName: PATH
|
|
||||||
variableValue: "{{.Env.QNX_710}}/host/common/bin:"
|
|
||||||
- type: PrependToEnvironmentVariable
|
- type: PrependToEnvironmentVariable
|
||||||
variableName: PATH
|
variableName: PATH
|
||||||
variableValue: "{{.Env.HOME}}/.qnx:"
|
variableValue: "{{.Env.HOME}}/.qnx:"
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_HOST
|
|
||||||
variableValue: "{{.Env.QNX_710}}/host/linux/x86_64"
|
|
||||||
- type: AppendToEnvironmentVariable
|
- type: AppendToEnvironmentVariable
|
||||||
variableName: PATH
|
variableName: PATH
|
||||||
variableValue: ":{{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/bin:"
|
variableValue: ":{{.Env.QEMUARMV7_TOOLCHAIN_SYSROOT}}/../x86_64-pokysdk-linux/usr/bin:"
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: QNX_TARGET
|
||||||
|
variableValue: "{{.Env.QNX_ACTIVE}}/target/qnx7"
|
||||||
|
- type: PrependToEnvironmentVariable
|
||||||
|
variableName: PATH
|
||||||
|
variableValue: "{{.Env.QNX_ACTIVE}}/host/linux/x86_64/usr/bin:"
|
||||||
|
- type: PrependToEnvironmentVariable
|
||||||
|
variableName: PATH
|
||||||
|
variableValue: "{{.Env.QNX_ACTIVE}}/host/common/bin:"
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: QNX_HOST
|
||||||
|
variableValue: "{{.Env.QNX_ACTIVE}}/host/linux/x86_64"
|
||||||
|
|
||||||
- type: Group
|
- type: SetEnvironmentFromScript
|
||||||
|
command: "{{.Env.QNX_ACTIVE}}\\qnxsdp-env.bat"
|
||||||
|
userMessageOnFailure: "Failed to set QNX environment"
|
||||||
|
maxTimeInSeconds: 60
|
||||||
|
maxTimeBetweenOutput: 60
|
||||||
enable_if:
|
enable_if:
|
||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
- condition: property
|
- condition: property
|
||||||
property: host.os
|
property: target.osVersion
|
||||||
equals_value: Windows
|
contains_value: QNX
|
||||||
- condition: property
|
- condition: property
|
||||||
property: target.os
|
property: host.os
|
||||||
equals_value: QNX
|
contains_value: Windows
|
||||||
instructions:
|
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_TARGET
|
|
||||||
variableValue: "{{.Env.QNX_710_CMAKE}}/target/qnx7"
|
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_CONFIGURATION_EXCLUSIVE
|
|
||||||
variableValue: "{{.Env.HOMEPATH}}\\.qnx"
|
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_CONFIGURATION
|
|
||||||
variableValue: "{{.Env.HOMEPATH}}\\.qnx"
|
|
||||||
- type: PrependToEnvironmentVariable
|
|
||||||
variableName: PATH
|
|
||||||
variableValue: "{{.Env.QNX_710}}\\host\\win64\\x86_64\\usr\\bin;"
|
|
||||||
- type: PrependToEnvironmentVariable
|
|
||||||
variableName: PATH
|
|
||||||
variableValue: "{{.Env.QNX_710}}\\host\\common\\bin;"
|
|
||||||
- type: PrependToEnvironmentVariable
|
|
||||||
variableName: PATH
|
|
||||||
variableValue: "{{.Env.HOMEPATH}}\\.qnx;"
|
|
||||||
- type: EnvironmentVariable
|
|
||||||
variableName: QNX_HOST
|
|
||||||
variableValue: "{{.Env.QNX_710}}\\host\\win64\\x86_64"
|
|
||||||
|
|
||||||
# Enable warnings are errors
|
# Enable warnings are errors
|
||||||
- type: Group
|
- type: Group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user