-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
57 lines (50 loc) · 1.24 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
# Define a template for tasks
filter_template: &filter_template
only_if: "changesInclude(
'**.c',
'**.h',
'**meson.build',
'.cirrus.yml'
)"
freebsd13_task:
<<: *filter_template
name: FreeBSD 13.3
freebsd_instance:
image_family: freebsd-13-3
pkginstall_script:
- pkg update -f
- pkg install -y meson ninja
setup_script:
- meson setup _build -Db_sanitize=address,undefined -Db_lundef=false
build_script:
- cd _build && ninja -v
test_script:
- cd _build && meson test -v
freebsd14_task:
<<: *filter_template
name: FreeBSD 14.1
freebsd_instance:
image_family: freebsd-14-1
pkginstall_script:
- pkg update -f
- pkg install -y meson ninja
setup_script:
- meson setup _build -Db_sanitize=address,undefined -Db_lundef=false
build_script:
- cd _build && ninja -v
test_script:
- cd _build && meson test -v
macos_task:
<<: *filter_template
name: macOS arm64
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
pkginstall_script:
- brew update
- brew install meson ninja
setup_script:
- meson setup _build -Db_sanitize=address,undefined -Db_lundef=false
build_script:
- cd _build && ninja
test_script:
- cd _build && meson test -v