2017-08-04 16:51:44 -04:00
|
|
|
image: archlinux
|
|
|
|
|
packages:
|
2018-05-28 08:39:38 +01:00
|
|
|
- clang
|
|
|
|
|
- ffmpeg
|
|
|
|
|
- libinput
|
|
|
|
|
- libxkbcommon
|
|
|
|
|
- mesa
|
2017-08-08 18:02:32 -04:00
|
|
|
- meson
|
2018-05-28 08:39:38 +01:00
|
|
|
- pixman
|
2017-08-04 16:51:44 -04:00
|
|
|
- wayland
|
|
|
|
|
- wayland-protocols
|
2019-04-29 19:10:09 +03:00
|
|
|
- xcb-util-errors
|
2017-11-02 00:19:51 +01:00
|
|
|
- xcb-util-image
|
2021-01-20 20:06:28 -05:00
|
|
|
- xcb-util-renderutil
|
2019-04-29 19:10:09 +03:00
|
|
|
- xcb-util-wm
|
2021-02-04 17:31:12 +01:00
|
|
|
- xorg-xwayland
|
2020-07-25 21:53:06 +02:00
|
|
|
- seatd
|
2017-08-04 16:51:44 -04:00
|
|
|
sources:
|
2018-03-03 23:00:59 -05:00
|
|
|
- https://github.com/swaywm/wlroots
|
2017-08-04 16:51:44 -04:00
|
|
|
tasks:
|
|
|
|
|
- setup: |
|
2018-11-25 20:09:02 +01:00
|
|
|
cd wlroots
|
2021-06-25 15:29:27 +02:00
|
|
|
CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr
|
|
|
|
|
CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled
|
2017-08-04 16:51:44 -04:00
|
|
|
- gcc: |
|
|
|
|
|
cd wlroots/build-gcc
|
2017-08-08 18:02:32 -04:00
|
|
|
ninja
|
2021-01-05 21:15:27 -05:00
|
|
|
sudo ninja install
|
|
|
|
|
cd ../tinywl
|
|
|
|
|
make
|
2017-08-04 16:51:44 -04:00
|
|
|
- clang: |
|
|
|
|
|
cd wlroots/build-clang
|
2018-11-25 20:09:02 +01:00
|
|
|
ninja
|
2021-08-05 18:54:37 +02:00
|
|
|
- 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 ]
|