aboutsummaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-05 18:54:37 +0200
committerKenny Levinsen <kl@kl.wtf>2021-08-08 22:13:33 +0200
commit88f65db87f8c6cc1f5598ef1b782a7cef6303dd2 (patch)
treef09c95fc2e3338e73e4818786b459cacb75fa368 /.builds
parent033c9cab74801db9ad1165cbdfc4c4c63cb40dda (diff)
ci: add smoke test
Add a very basic smoke test which uses VKMS to fire up the DRM backend.
Diffstat (limited to '.builds')
-rw-r--r--.builds/archlinux.yml10
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 ]