-
Notifications
You must be signed in to change notification settings - Fork 98
446 lines (421 loc) · 12.7 KB
/
ci.yaml
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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
---
name: ros_buildfarm-ci
on:
push:
branches: [master]
pull_request:
jobs:
pytest:
name: Pytest
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install -U -e .[test]
- name: Run tests
run: |
python -m pytest -s test
ros1_audit:
name: ROS 1 Audit
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/audit
with:
ros_distro: noetic
os_code_name: focal
ros1_config:
name: ROS 1 Config Validation
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Validate configration
run: validate_config_index.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml
ros1_doc:
name: ROS 1 Doc
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/doc
with:
ros_distro: noetic
os_code_name: focal
repo: roscpp_core
ros1_prerelease:
name: ROS 1 Prerelease
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/prerelease
with:
ros_distro: noetic
os_code_name: focal
overlay_pkg: roscpp
underlay_repos: roscpp_core
ros1_prerelease_external:
name: ROS 1 Prerelease (External)
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Check out dummy_package
uses: actions/checkout@v2
with:
repository: ros-infrastructure/ros_buildfarm
ref: dummy_package
path: dummy_package
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/prerelease
with:
ros_distro: noetic
os_code_name: focal
source_dir: ${{github.workspace}}/dummy_package
ros1_release:
name: ROS 1 Release
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/release
with:
ros_distro: noetic
os_code_name: focal
pkg_name: rostime
ros1_release_reconfigure:
name: ROS 1 Release Reconfigure
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/release_reconfigure
with:
ros_distro: noetic
pkg_names: rostime
ros1_status_pages:
name: ROS 1 Status Pages
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{matrix.python}}
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/status_pages
with:
ros_distro: noetic
ros1_sync_criteria_check:
name: ROS 1 Sync Criteria Check
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/sync_criteria_check
with:
ros_distro: noetic
os_code_name: focal
ros1_trigger:
name: ROS 1 Trigger
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6']
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/trigger
with:
ros_distro: noetic
ros2_audit:
name: ROS 2 Audit
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/audit
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
ros2_ci:
name: ROS 2 CI
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job 1
id: underlay1
uses: ./.github/actions/ci
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
package_selection_args: --packages-up-to ament_flake8
- name: Run job 2
id: underlay2
uses: ./.github/actions/ci
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
underlay_dirs: ${{steps.underlay1.outputs.install_dir}}
package_selection_args: --packages-skip-up-to ament_flake8 --packages-up-to ament_pep257
- name: Run job 3
uses: ./.github/actions/ci
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
underlay_dirs: ${{steps.underlay1.outputs.install_dir}} ${{steps.underlay2.outputs.install_dir}}
package_selection_args: --packages-skip-up-to ament_flake8 ament_pep257 --packages-up-to ament_cmake_ros
ros2_config:
name: ROS 2 Config Validation
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Validate configration
run: validate_config_index.py https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros2_devel:
name: ROS 2 Devel
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/devel
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
repo: rcutils
ros2_doc_noble:
name: ROS 2 Doc (Noble)
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/doc
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: rolling
os_code_name: noble
repo: rcl
output_directory: ws/docs_output
ros2_doc_jammy:
name: ROS 2 Doc (Jammy)
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/doc
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
repo: rcl
output_directory: ws/docs_output
ros2_prerelease:
name: ROS 2 Prerelease
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/prerelease
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: humble
os_code_name: jammy
overlay_pkg: rcutils
underlay_repos: ament_cmake_ros
ros2_release:
name: ROS 2 Release
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/release
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: rolling
os_code_name: noble
pkg_name: rcutils
ros2_release_reconfigure:
name: ROS 2 Release Reconfigure
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/release_reconfigure
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: rolling
pkg_names: rcutils
ros2_release_rpm:
name: ROS 2 Release (RPM)
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/release
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
config_name: rhel
ros_distro: rolling
os_name: rhel
os_code_name: 9
arch: x86_64
pkg_name: rcutils
ros2_sync_criteria_check:
name: ROS 2 Sync Criteria Check
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/sync_criteria_check
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: rolling
os_code_name: noble
ros2_sync_criteria_check_rpm:
name: ROS 2 Sync Criteria Check (RPM)
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/sync_criteria_check
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
config_name: rhel
ros_distro: rolling
os_name: rhel
os_code_name: 9
arch: x86_64
ros2_trigger:
name: ROS 2 Trigger
runs-on: ubuntu-20.04
steps:
- name: Check out project
uses: actions/checkout@v2
- name: Install dependencies
uses: ./.github/actions/setup
- name: Run job
uses: ./.github/actions/trigger
with:
config_url: https://raw.githubusercontent.com/ros2/ros_buildfarm_config/ros2/index.yaml
ros_distro: rolling