mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 22:52:20 +00:00
ci: add smoke test
Add a very basic smoke test which uses VKMS to fire up the DRM backend.
This commit is contained in:
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…
Reference in New Issue
Block a user