From 88f65db87f8c6cc1f5598ef1b782a7cef6303dd2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 5 Aug 2021 18:54:37 +0200 Subject: ci: add smoke test Add a very basic smoke test which uses VKMS to fire up the DRM backend. --- .builds/archlinux.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index bcab5f06..88c7265e 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -31,3 +31,13 @@ tasks: - clang: | cd wlroots/build-clang ninja + - smoke-test: | + cd wlroots/tinywl + sudo modprobe vkms + sudo seatd -u "$USER" & + while ! [ -e /run/seatd.sock ]; do sleep 0.1; done + export WLR_BACKENDS=drm + export WLR_RENDERER=pixman + export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card + sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card + ./tinywl -s 'kill $PPID' || [ $? = 143 ] -- cgit v1.2.3