CI: add Windows host support for QNX
Add required environment variable configurations to COIN for building Qt SW in Windows host for QNX OS. Task-number: QTBUG-101292 Pick-to: 6.3 6.2 Change-Id: I3ea4cbaaebb693a0a46b5f9cbd08209805366ca7 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
This commit is contained in:
parent
e506c84eb2
commit
aa8bada10b
@ -326,9 +326,14 @@ instructions:
|
|||||||
# QNX variables
|
# QNX variables
|
||||||
- type: Group
|
- type: Group
|
||||||
enable_if:
|
enable_if:
|
||||||
condition: property
|
condition: and
|
||||||
property: target.os
|
conditions:
|
||||||
equals_value: QNX
|
- condition: property
|
||||||
|
property: host.os
|
||||||
|
equals_value: Linux
|
||||||
|
- condition: property
|
||||||
|
property: target.os
|
||||||
|
equals_value: QNX
|
||||||
instructions:
|
instructions:
|
||||||
- type: EnvironmentVariable
|
- type: EnvironmentVariable
|
||||||
variableName: QNX_TARGET
|
variableName: QNX_TARGET
|
||||||
@ -354,10 +359,39 @@ instructions:
|
|||||||
- 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:"
|
||||||
enable_if:
|
|
||||||
condition: property
|
- type: Group
|
||||||
property: host.os
|
enable_if:
|
||||||
equals_value: Linux
|
condition: and
|
||||||
|
conditions:
|
||||||
|
- condition: property
|
||||||
|
property: host.os
|
||||||
|
equals_value: Windows
|
||||||
|
- 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"
|
||||||
|
|
||||||
# Enable warnings are errors
|
# Enable warnings are errors
|
||||||
- type: Group
|
- type: Group
|
||||||
|
Loading…
Reference in New Issue
Block a user