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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
type: Group
instructions:
- type: Group
instructions:
- type: ExecuteCommand
command: Mingw32-make
maxTimeInSeconds: 36000
maxTimeBetweenOutput: 3600
userMessageOnFailure: "Failed to run make, check logs."
- type: ExecuteCommand
command: "Mingw32-make -j1 install INSTALL_ROOT={{.InstallRoot}}"
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run make install, check logs."
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Windows
- condition: property
property: target.compiler
in_values: [Mingw53, Mingw73, Clang]
- type: Group
instructions:
- type: ExecuteCommand
command: make
maxTimeInSeconds: 36000
maxTimeBetweenOutput: 3600
userMessageOnFailure: "Failed to run make, check logs."
- type: ExecuteCommand
command: ['make', 'html_docs']
maxTimeInSeconds: 36000
maxTimeBetweenOutput: 3600
userMessageOnFailure: 'Could not build documentation.'
- type: UploadArtifact
archiveDirectory: '{{.BuildDir}}/doc'
transferType: UploadModuleDocumentation
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 1800
- type: ExecuteCommand
command: "make install INSTALL_ROOT={{.InstallRoot}}"
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run install, check logs."
enable_if:
condition: and
conditions:
- condition: property
property: host.os
not_equals_value: Windows
- condition: property
property: target.compiler
in_values: [GCC, Clang, ICC_17, ICC_18]
- type: Group
instructions:
- type: ExecuteCommand
command: "jom"
maxTimeInSeconds: 36000
maxTimeBetweenOutput: 3600
userMessageOnFailure: "Failed to run jom/make, check logs."
- type: ExecuteCommand
command: ['jom', 'html_docs']
maxTimeInSeconds: 36000
maxTimeBetweenOutput: 3600
userMessageOnFailure: 'Could not build documentation.'
- type: UploadArtifact
archiveDirectory: '{{.BuildDir}}\\doc'
transferType: UploadModuleDocumentation
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 1800
- type: ExecuteCommand
command: "nmake install INSTALL_ROOT={{.InstallRoot}}"
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 600
userMessageOnFailure: "Failed to run nmake install, check logs."
enable_if:
condition: property
property: target.compiler
in_values: [MSVC2013, MSVC2015, MSVC2017, MSVC2019]
- type: SignPackage
directory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
maxTimeInSeconds: 1200
maxTimeBetweenOutput: 1200
enable_if:
condition: property
property: host.os
equals_value: Windows
- type: UploadArtifact
archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
transferType: UploadModuleBuildArtifact
maxTimeInSeconds: 1800
maxTimeBetweenOutput: 1800
|