Add QNX8.0 CI enablers

Task-number: QTBUG-131708
Pick-to: 6.8
Change-Id: I60c1be5fc117e5861147d9b194106b63a8b62aab
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit f673d381295ccafe9d993277655e57eaae630e89)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 93e78b87bfae3678c069078dcefb0730de181926)
Reviewed-by: Marianne Yrjänä <marianne.yrjana@qt.io>
This commit is contained in:
Marianne Yrjänä
2025-05-15 13:59:14 +03:00
parent 2fb697d9c6
commit a554788a46
8 changed files with 49 additions and 51 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ instructions:
variableValue: " {{.SourceDir}}/coin_qnx_qemu_runner.sh"
enable_if:
condition: property
property: target.osVersion
in_values: [QNX_710]
property: target.os
equals_value: QNX
- type: Group
enable_if:
condition: property
@@ -18,7 +18,7 @@ instructions:
equals_property: target.os
- condition: property
property: target.osVersion
not_in_values: [QEMU, QNX_710]
not_in_values: [QEMU, QNX_710, QNX_800]
- type: Group
instructions:
- type: EnvironmentVariable
@@ -32,7 +32,7 @@ instructions:
equals_property: target.os
- condition: property
property: target.osVersion
not_in_values: [QEMU, QNX_710]
not_in_values: [QEMU, QNX_710, QNX_800]
- type: Group
instructions:
- !include "{{qt/qtbase}}/cmake_setup_running_qnxqemu_tests_env_vars.yaml"
@@ -40,8 +40,8 @@ instructions:
condition: and
conditions:
- condition: property
property: target.osVersion
equals_value: QNX_710
property: target.os
equals_value: QNX
- condition: property
property: features
not_contains_value: DisableTests
@@ -67,7 +67,7 @@ instructions:
conditions:
- condition: property
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
conditions:
- condition: property
@@ -73,8 +73,8 @@ instructions:
condition: and
conditions:
- condition: property
property: target.osVersion
equals_value: QNX_710
property: target.os
equals_value: QNX
- condition: property
property: features
not_contains_value: DisableTests
@@ -24,7 +24,7 @@ instructions:
equals_property: target.os
- condition: property
property: target.osVersion
in_values: [QEMU, QNX_710]
in_values: [QEMU, QNX_710, QNX_800]
disable_if:
condition: or
conditions:
@@ -21,7 +21,7 @@ instructions:
equals_property: target.os
- condition: property
property: target.osVersion
in_values: [QEMU, QNX_710, IOS_ANY]
in_values: [QEMU, QNX_710, QNX_800, IOS_ANY]
- condition: property
property: features
contains_value: AndroidTestRun
@@ -58,7 +58,7 @@ instructions:
conditions:
- condition: property
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
conditions:
- condition: property
+37 -39
View File
@@ -369,6 +369,22 @@ instructions:
variableValue: "{{.Env.VXWORKS_HOME}}/wrenv.linux"
# 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
enable_if:
condition: and
@@ -380,63 +396,45 @@ instructions:
property: target.os
equals_value: QNX
instructions:
- type: EnvironmentVariable
variableName: QNX_TARGET
variableValue: "{{.Env.QNX_710}}/target/qnx7"
- type: EnvironmentVariable
variableName: QNX_CONFIGURATION_EXCLUSIVE
variableValue: "{{.Env.HOME}}/.qnx"
- type: EnvironmentVariable
variableName: QNX_CONFIGURATION
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
variableName: PATH
variableValue: "{{.Env.HOME}}/.qnx:"
- type: EnvironmentVariable
variableName: QNX_HOST
variableValue: "{{.Env.QNX_710}}/host/linux/x86_64"
- type: AppendToEnvironmentVariable
variableName: PATH
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:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Windows
property: target.osVersion
contains_value: QNX
- condition: property
property: target.os
equals_value: QNX
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"
property: host.os
contains_value: Windows
# Enable warnings are errors
- type: Group