aboutsummaryrefslogtreecommitdiff
path: root/.builds/alpine.yml
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-07-31 00:23:15 +0200
committerKenny Levinsen <kl@kl.wtf>2020-07-31 00:23:15 +0200
commit1dbd92030724ff1e9df58291722d33d2d89fbc12 (patch)
tree56169a2deb8ef837278dd10af5f753de14b09b1e /.builds/alpine.yml
parent3b32bd539bfa0daf169559e009f3e9aa6140f4ce (diff)
ci: Initial CI
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r--.builds/alpine.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 0000000..0075534
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,26 @@
+image: alpine/edge
+packages:
+ - meson
+ - linux-headers
+ - clang
+ - clang-analyzer
+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
+ - 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
+ - check-format: |
+ cd seatd
+ ninja -C build clang-format
+ git diff --exit-code