mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01: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
1 changed files with 10 additions and 0 deletions
|
@ -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 a new issue