ci: add smoke test

Add a very basic smoke test which uses VKMS to fire up the DRM
backend.
master
Simon Ser 3 years ago committed by Kenny Levinsen
parent 033c9cab74
commit 88f65db87f

@ -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 ]

Loading…
Cancel
Save