-
Notifications
You must be signed in to change notification settings - Fork 35
/
.cirrus.yml
62 lines (56 loc) · 1.34 KB
/
.cirrus.yml
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
filter_template: &filter_template
only_if: "changesInclude(
'src/*',
'test/*',
'**meson.build',
'.cirrus.yml',
'**.wrap'
)"
common_meson_steps: &common_meson_steps
build_script:
- cd builddir && ninja -v
test_script:
- cd builddir && meson test -v --suite rmw
common_freebsd_steps: &common_freebsd_steps
pkginstall_script:
- pkg update -f
- pkg install -y git meson ninja gettext pkgconf
freebsd_task:
<<: *filter_template
name: freebsd-13-3
freebsd_instance:
image_family: freebsd-13-3
<<: *common_freebsd_steps
setup_script:
- meson setup builddir
<<: *common_meson_steps
freebsd_task:
<<: *filter_template
name: freebsd-14-1
freebsd_instance:
image_family: freebsd-14-1
<<: *common_freebsd_steps
setup_script:
- meson setup builddir
<<: *common_meson_steps
arm_task:
<<: *filter_template
arm_container:
image: andy5995/rmw:build-env-bookworm
env:
CIRRUS_CLONE_SUBMODULES: true
setup_script:
- meson setup builddir -Db_sanitize=none
<<: *common_meson_steps
macos_task:
<<: *filter_template
name: macOS arm64
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sonoma
env:
CIRRUS_CLONE_SUBMODULES: true
pkginstall_script:
- brew install meson ninja ncurses
setup_script:
- meson setup builddir
<<: *common_meson_steps