diff options
author | Simon Ser <contact@emersion.fr> | 2021-08-05 18:54:37 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-08-08 22:13:33 +0200 |
commit | 88f65db87f8c6cc1f5598ef1b782a7cef6303dd2 (patch) | |
tree | f09c95fc2e3338e73e4818786b459cacb75fa368 /.builds/archlinux.yml | |
parent | 033c9cab74801db9ad1165cbdfc4c4c63cb40dda (diff) |
ci: add smoke test
Add a very basic smoke test which uses VKMS to fire up the DRM
backend.
Diffstat (limited to '.builds/archlinux.yml')
-rw-r--r-- | .builds/archlinux.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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 ] |