aboutsummaryrefslogtreecommitdiff
path: root/.builds/archlinux.yml
blob: 27391f090b38423f87d109e05ac0198349c62759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: archlinux
packages:
   - meson
   - linux-headers
   - clang
   - clang-analyzer
   - scdoc
sources:
   - https://git.sr.ht/~kennylevinsen/seatd
tasks:
   - prepare: |
      meson -Db_sanitize=address -Dlogind=auto -Dseatd=enabled -Dbuiltin=enabled -Dexamples=enabled build seatd
   - build: |
      ninja -C build
   - 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 ./seatd/.builds/smoketest-seatd.sh
   - smoketest-builtin: |
      timeout -s KILL 30s ./seatd/.builds/smoketest-builtin.sh