blob: 3e1072d01896223b44cb634f95ab0bc1d391c21a (
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
|
type: Group
instructions:
- type: MakeDirectory
directory: ".git"
- type: Group
instructions:
- type: InstallSourceArchive
maxTimeInSeconds: 600
maxTimeBetweenOutput: 600
project: qtsdk/qtsdk
ref: master
directory: qtsdk/qtsdk
userMessageOnFailure: "Could not install qtsdk/qtsdk source archive. Please investigate why."
- type: SetBuildDirectory
directory: "{{.SourceDir}}"
disable_if:
condition: property
property: features
contains_value: OutOfSourceBuild
- type: Group
instructions:
- type: SetBuildDirectory
directory: "{{.AgentWorkingDir}}/build"
- type: MakeDirectory
directory: "{{.BuildDir}}"
enable_if:
condition: property
property: features
contains_value: OutOfSourceBuild
- type: ChangeDirectory
directory: "{{.BuildDir}}"
- type: ExecuteCommand
command: ["{{.InstallDir}}/bin/qmake", "QTPLUGIN.platforms = qminimal qxcb", "INSTALL_PREFIX={{.InstallDir}}", "{{.SourceDir}}"]
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run qmake, check logs."
enable_if:
condition: property
property: host.os
equals_value: Linux
- type: ExecuteCommand
command: ["{{.InstallDir}}/bin/qmake", "INSTALL_PREFIX={{.InstallDir}}", "{{.SourceDir}}"]
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run qmake, check logs."
enable_if:
condition: property
property: host.os
not_equals_value: Linux
- !include "{{installer-framework/installer-framework}}/make_instructions.yaml"
- !include "{{installer-framework/installer-framework}}/make_documentation.yaml"
|