blob: f7e543802e7f0172d1e1983899c269a694297f47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
version: 2
machine_type:
Build:
cores: 8
Test:
cores: 8
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}}/provision.yaml"
- !include "{{qt-creator/qt-creator}}/build.yaml"
test_instructions: &test_instructions
type: Group
instructions:
- !include "{{qt-creator/qt-creator}}/provision.yaml"
- !include "{{qt-creator/qt-creator}}/test.yaml"
instructions:
Build:
- *common_environment
- *make_instructions
Test:
- *common_environment
- *test_instructions
LicenseCheck:
- *run_license_check
|