blob: 61fcecac0c6dde00a3b5e4d8f37f767ac5630d5a (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
# Beware: git branch names need the 'refs/heads/' prefix, while tags need 'refs/tags/'
- project:
name: #{RR}
toolchain_name: gnu
#if RR_tcwg_gcc || RR_tcwg_binutils
ci_project: tcwg_gnu
#else
ci_project: #{RR}
#endif
#if COMPONENTS_binutils
binutils_url: git://sourceware.org/git/binutils-gdb.git
#endif
#if COMPONENTS_gcc
gcc_url: https://github.com/gcc-mirror/gcc.git
#endif
#if COMPONENTS_glibc
glibc_url: git://sourceware.org/git/glibc.git
#endif
#if COMPONENTS_qemu
qemu_url: https://git.qemu.org/git/qemu.git
#endif
toolchain_ver:
- master:
#if COMPONENTS_binutils
binutils_branch: refs/heads/master
#endif
#if COMPONENTS_gcc
gcc_branch: refs/heads/master
#endif
#if COMPONENTS_glibc
glibc_branch: refs/heads/master
#endif
#if COMPONENTS_qemu
qemu_branch: refs/heads/master
#endif
distro: lts
- release:
#if COMPONENTS_binutils
binutils_branch: refs/heads/binutils-2_36-branch
#endif
#if COMPONENTS_gcc
gcc_branch: refs/heads/releases/gcc-10
#endif
#if COMPONENTS_glibc
glibc_branch: refs/heads/release/2.32/master
#endif
#if COMPONENTS_qemu
qemu_branch: refs/tags/v5.2.0
#endif
distro: lts_1
target:
#if RR_tcwg_cross
- aarch64
- arm
node: tcwg-x86_64-build
#else
- aarch64:
node: tcwg-armv8_64
docker_arch: arm64
- arm:
node: tcwg-armv8_32
docker_arch: armhf
#endif
disabled: false
type_of_test:
#if RR_tcwg_binutils
- check_binutils
#elif RR_tcwg_cross
- build_cross
- check_cross:
disabled: true
#elif RR_tcwg_gcc
- bootstrap_O1
- bootstrap_O3
- bootstrap_debug
- bootstrap_profiled
- bootstrap_profiled_lto
- bootstrap_profiled_lto_lean
- bootstrap_ubsan
- check_bootstrap:
disabled: true
- check_bootstrap_lto:
disabled: true
#endif
jobs:
- '#{RR}-build-{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
- '#{RR}-bisect-{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
- view:
name: #{RR}
view-type: list
regex: '#{RR}-.*'
#include tcwg/round-robin.yaml.inc
- job-template:
name: #{RR}-build-{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}
project-type: freestyle
defaults: global
properties:
- default-properties
- build-blocker:
blocking-jobs:
- "#{RR}-bisect-{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}"
queue-scanning: 'ALL'
parameters:
- build-parameters:
ci_project: '{ci_project}'
ci_config: '{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
#if COMPONENTS_binutils
binutils_url: '{binutils_url}'
#endif
#if COMPONENTS_gcc
gcc_url: '{gcc_url}'
#endif
#if COMPONENTS_glibc
glibc_url: '{glibc_url}'
#endif
#if COMPONENTS_qemu
qemu_url: '{qemu_url}'
#endif
default_branch: 'default'
distro: '{distro}'
disabled: '{disabled}'
node: '{node} && tcwg-build'
concurrent: false
display-name: 'TCWG Build {ci_project}/{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
workspace: workspace/tcwg_gnu_$EXECUTOR_NUMBER
scm:
- build-scms:
#if COMPONENTS_binutils
binutils_url: '{binutils_url}'
binutils_branch: '{binutils_branch}'
#endif
#if COMPONENTS_gcc
gcc_url: '{gcc_url}'
gcc_branch: '{gcc_branch}'
#endif
#if COMPONENTS_glibc
glibc_url: '{glibc_url}'
glibc_branch: '{glibc_branch}'
#endif
#if COMPONENTS_qemu
qemu_url: '{qemu_url}'
qemu_branch: '{qemu_branch}'
#endif
triggers:
- pollscm:
cron: 'H H H/2 * *'
wrappers:
- build-wrappers:
timeout: 1000
builders:
- run-build:
build_script: 'tcwg_gnu-build.sh'
components: '#{COMPONENTS}'
rr_project: '#{RR}'
ci_project_config: '{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
#if RR_tcwg_binutils || RR_tcwg_gcc
docker_arch: '{docker_arch}'
#endif
target: '{target}'
type_of_test: '{type_of_test}'
publishers:
- build-publishers
- email-ext:
recipients: 'tcwg-gcc@linaro.org'
aborted: true
failure: false
success: false
- job-template:
name: #{RR}-bisect-{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}
project-type: freestyle
defaults: global
properties:
- default-properties
- build-blocker:
# Run at most 1 bisect job for all configurations.
# Bisect jobs can easily run for 5+ hours, and a few of them
# can hog the entire TCWG build farm for a long time. Since
# same regression tends to appear in multiple configurations,
# run bisections for all configurations in-order.
blocking-jobs:
- "#{RR}-bisect-.*"
queue-scanning: 'BUILDABLE'
parameters:
- bisect-parameters:
ci_project: '{ci_project}'
ci_config: '{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
distro: '{distro}'
disabled: '{disabled}'
node: '{node} && tcwg-bisect'
concurrent: false
display-name: 'TCWG Bisect {ci_project}/{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
workspace: workspace/tcwg_gnu_$EXECUTOR_NUMBER
scm:
- jenkins-scripts
wrappers:
- bisect-wrappers:
timeout: 6000
builders:
- run-bisect:
build_script: 'tcwg_gnu-build.sh'
rr_project: '#{RR}'
ci_project_config: '{toolchain_name}-{toolchain_ver}-{target}-{type_of_test}'
#if RR_tcwg_binutils || RR_tcwg_gcc
docker_arch: '{docker_arch}'
#endif
publishers:
- bisect-publishers
|