aboutsummaryrefslogtreecommitdiff
path: root/.builds/netbsd.yml
diff options
context:
space:
mode:
authorilliliti <illiliti@thunix.net>2022-03-04 06:10:28 +0300
committerKenny Levinsen <kl@kl.wtf>2022-03-16 21:39:46 +0100
commita5f9a2a2c86abb7163d8f2c7fc34490dd6d26f29 (patch)
treea14e798365198eb7605e49bd3d7d0f438b5808af /.builds/netbsd.yml
parent4ad48cb305b3f847ab7d3c2d3f59c27007519c77 (diff)
ci: Add NetBSD
Diffstat (limited to '.builds/netbsd.yml')
-rw-r--r--.builds/netbsd.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.builds/netbsd.yml b/.builds/netbsd.yml
new file mode 100644
index 0000000..a676138
--- /dev/null
+++ b/.builds/netbsd.yml
@@ -0,0 +1,24 @@
+image: netbsd/latest
+packages:
+ - meson
+sources:
+ - https://git.sr.ht/~kennylevinsen/seatd
+tasks:
+ - wscons: |
+ echo 'wscons=YES' | sudo tee -a /etc/rc.conf
+ sudo /etc/rc.d/wscons start
+ sudo /etc/rc.d/ttys restart
+ - prepare: |
+ meson -Dlibseat-seatd=enabled -Dlibseat-builtin=enabled -Dlibseat-logind=disabled build seatd
+ - build: |
+ ninja -C build
+ - unittest: |
+ ninja -C build test
+ - smoketest: |
+ rm -rf build
+ meson -Db_lundef=false -Db_sanitize=address -Dlibseat-seatd=enabled -Dlibseat-builtin=enabled -Dexamples=enabled -Dlibseat-logind=disabled build seatd
+ ninja -C build
+ sudo ninja -C build install
+ timeout -s SIGKILL 30s sudo SEATD_LOGLEVEL=debug ./build/seatd-launch ./build/simpletest /dev/wskbd
+ - smoketest-builtin: |
+ timeout -s SIGKILL 30s sudo LIBSEAT_BACKEND=builtin ./build/simpletest /dev/wskbd