aboutsummaryrefslogtreecommitdiff
path: root/.builds/alpine.yml
blob: e048494c3a57699457a7eca7b9efb8d57727ae35 (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
29
30
31
32
33
image: alpine/edge
packages:
   - meson
   - linux-headers
   - clang
   - clang-analyzer
   - scdoc
sources:
   - https://git.sr.ht/~kennylevinsen/seatd
tasks:
   - prepare: |
      cd seatd
      meson build -Dseatd=enabled -Dbuiltin=enabled -Dlogind=disabled
   - build: |
      cd seatd
      ninja -C build
   - unittest: |
      cd seatd
      ninja -C build test
   - scan-build: |
      cd seatd
      ninja -C build scan-build
      [ -z "$(ls -A build/meson-logs/scanbuild/ 2>/dev/null)" ]
   - smoketest: |
      cd seatd
      timeout -s KILL 30s ./.builds/smoketest-seatd.sh
   - smoketest-builtin: |
      cd seatd
      timeout -s KILL 30s ./.builds/smoketest-builtin.sh
   - check-format: |
      cd seatd
      ninja -C build clang-format
      git diff --exit-code