blob: 4eda0a8a5bd52a6c6c51c8eda34653afa77f7661 (
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
|
image: archlinux
packages:
- meson
- linux-headers
- clang
- clang-analyzer
sources:
- https://git.sr.ht/~kennylevinsen/seatd
tasks:
- prepare: |
cd seatd
meson -Dlogind=enabled -Dseatd=enabled -Dbuiltin=enabled build
- build: |
cd seatd
ninja -C build
- scan-build: |
cd seatd
ninja -C build scan-build
[ -z "$(ls -A build/meson-logs/scanbuild/ 2>/dev/null)" ]
- smoketest: |
cd seatd
rm -rf build
meson -Db_sanitize=address -Dlogind=enabled -Dseatd=enabled -Dbuiltin=enabled build
ninja -C build
timeout -s KILL 30s ./.builds/smoketest-seatd.sh
- smoketest-builtin: |
cd seatd
timeout -s KILL 30s ./.builds/smoketest-builtin.sh
|