Files
qt-creator/coin/module_config.yaml
T
Matti Paaso 77d8a88a3e Add qt-creator module instructions
Task-number: COIN-491
Change-Id: I3d1b8663c2c2c8d151db2a6ab0faab2ab8669011
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2021-04-07 10:34:40 +00:00

69 lines
1.7 KiB
YAML

version: 2
accept_configuration:
condition: or
conditions:
- condition: property
property: features
contains_value: LicenseCheck
- condition: and
conditions:
- condition: property
property: host.os
equals_value: Windows
- condition: property
property: host
equals_property: target
- condition: property
property: target.compiler
equals_value: MSVC2019
- condition: and
conditions:
- condition: property
property: host.os
equals_value: Linux
- condition: and
conditions:
- condition: property
property: host.os
equals_value: MacOS
run_license_check: &run_license_check
type: Group
enable_if:
condition: property
property: features
contains_value: LicenseCheck
instructions:
- type: EnvironmentVariable
variableName: QT_MODULE_TO_TEST
variableValue: "qt-creator/qt-creator"
- type: ChangeDirectory
directory: "{{.AgentWorkingDir}}"
- type: ExecuteCommand
command: echo " should run perl qt/qtqa-latest/tests/prebuild/license/tst_licenses.pl"
maxTimeInSeconds: 7200
maxTimeBetweenOutput: 120
userMessageOnFailure: >
Failed ....
common_environment: &common_environment
type: Group
instructions:
- !include "{{qt-creator/qt-creator}}/common_environment.yaml"
make_instructions: &make_instructions
type: Group
instructions:
- !include "{{qt-creator/qt-creator}}/qmake_module_build.yaml"
instructions:
Build:
- *common_environment
- *make_instructions
Test: []
LicenseCheck:
- *run_license_check