blob: 7b3c557f38e55947b51c68fb1e3409460fc0b397 (
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
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
|
version: 2
tags: [git]
accept_configuration:
condition: property
property: features
not_contains_value: Disable
machine_type:
Build:
# Run Windows cross-compilation on larger VM, due to extreme length.
- cores: 32
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Windows
- condition: property
property: host
not_equals_property: target
- condition: property
property: target.os
not_equals_value: Android
- cores: 16
enable_if:
condition: and
conditions:
- condition: property
property: host.os
equals_value: Windows
- condition: property
property: host.compiler
contains_value: MSVC
- condition: property
property: host.arch
equals_value: X86_64
- cores: 8
Test:
cores: 4
instructions:
Build:
- type: AppendToEnvironmentVariable
variableName: COMMON_NON_QTBASE_CMAKE_ARGS
variableValue: " -DFEATURE_qtwebengine_build=OFF"
enable_if:
condition: runtime
env_var: COIN_PLATFORM_ID
contains_value: "windows-11_22h2-arm64-msvc2022"
- type: AppendToEnvironmentVariable
variableName: COMMON_NON_QTBASE_CMAKE_ARGS
variableValue: " -DFEATURE_qtwebengine_build=OFF"
enable_if:
condition: runtime
env_var: COIN_PLATFORM_ID
contains_value: "windows-11_24H2-msvc2022-arm64"
- type: AppendToEnvironmentVariable
variableName: COMMON_NON_QTBASE_CMAKE_ARGS
variableValue: " -DFEATURE_webengine_system_libxml=OFF"
enable_if:
condition: property
property: features
contains_value: Packaging
- type: EnvironmentVariable
variableName: VERIFY_SOURCE_SBOM
variableValue: "ON"
- type: EnvironmentVariable
variableName: CMAKE_BUILD_TIMEOUT
variableValue: "36000"
- type: EnvironmentVariable
variableName: CMAKE_BUILD_OUTPUT_TIMEOUT
variableValue: "3600"
- type: EnvironmentVariable
variableName: QTWEBENGINE_GN_THREADS
variableValue: "1"
enable_if:
condition: property
property: host.os
equals_value: MacOS
- !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"
Test:
- type: EnvironmentVariable
variableName: QTWEBENGINE_DISABLE_SANDBOX
variableValue: "1"
enable_if:
condition: property
property: target.osVersion
equals_value: QEMU
- !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
- !include "{{qt/qtbase}}/coin_module_test_docs.yaml"
|