blob: bb8904a6460acfe021a322edb9151c3c86b62228 (
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: alpine/edge
packages:
- meson
- linux-headers
- clang
- clang-extra-tools
- clang-analyzer
- scdoc
sources:
- https://git.sr.ht/~kennylevinsen/seatd
tasks:
- prepare: |
meson -Dlibseat-seatd=enabled -Dlibseat-builtin=enabled -Dlibseat-logind=disabled -Dexamples=enabled build seatd
- build: |
ninja -C build
sudo ninja -C build install
- unittest: |
ninja -C build test
- scan-build: |
ninja -C build scan-build
[ -z "$(ls -A build/meson-logs/scanbuild/ 2>/dev/null)" ]
- smoketest: |
timeout -s KILL 30s sudo SEATD_LOGLEVEL=debug ./build/seatd-launch ./build/simpletest /dev/dri/card0
- smoketest-builtin: |
timeout -s KILL 30s sudo LIBSEAT_BACKEND=builtin ./build/simpletest /dev/dri/card0
- check-format: |
ninja -C build clang-format
git -C seatd diff --exit-code
|