aboutsummaryrefslogtreecommitdiff
path: root/.builds/archlinux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/archlinux.yml')
-rw-r--r--.builds/archlinux.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
new file mode 100644
index 0000000..4eda0a8
--- /dev/null
+++ b/.builds/archlinux.yml
@@ -0,0 +1,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