2017-08-04 22:51:44 +02:00
|
|
|
image: archlinux
|
|
|
|
packages:
|
2018-05-28 09:39:38 +02:00
|
|
|
- clang
|
|
|
|
- libinput
|
2023-02-02 12:14:11 +01:00
|
|
|
- libdisplay-info
|
2022-08-18 19:17:33 +02:00
|
|
|
- libliftoff
|
2018-05-28 09:39:38 +02:00
|
|
|
- libxkbcommon
|
|
|
|
- mesa
|
2017-08-09 00:02:32 +02:00
|
|
|
- meson
|
2018-05-28 09:39:38 +02:00
|
|
|
- pixman
|
2017-08-04 22:51:44 +02:00
|
|
|
- wayland
|
|
|
|
- wayland-protocols
|
2019-04-29 18:10:09 +02:00
|
|
|
- xcb-util-errors
|
2017-11-02 00:19:51 +01:00
|
|
|
- xcb-util-image
|
2021-01-21 02:06:28 +01:00
|
|
|
- xcb-util-renderutil
|
2019-04-29 18:10:09 +02:00
|
|
|
- xcb-util-wm
|
2021-02-04 17:31:12 +01:00
|
|
|
- xorg-xwayland
|
2020-07-25 21:53:06 +02:00
|
|
|
- seatd
|
2021-02-21 18:30:12 +01:00
|
|
|
- vulkan-icd-loader
|
|
|
|
- vulkan-headers
|
|
|
|
- glslang
|
2022-06-26 23:11:47 +02:00
|
|
|
- hwdata
|
2017-08-04 22:51:44 +02:00
|
|
|
sources:
|
2021-11-01 17:28:16 +01:00
|
|
|
- https://gitlab.freedesktop.org/wlroots/wlroots.git
|
2017-08-04 22:51:44 +02:00
|
|
|
tasks:
|
|
|
|
- setup: |
|
2018-11-25 20:09:02 +01:00
|
|
|
cd wlroots
|
2023-02-22 11:01:04 +01:00
|
|
|
CC=gcc meson setup build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
|
|
|
|
CC=clang meson setup build-clang --fatal-meson-warnings -Dauto_features=enabled
|
2017-08-04 22:51:44 +02:00
|
|
|
- gcc: |
|
|
|
|
cd wlroots/build-gcc
|
2017-08-09 00:02:32 +02:00
|
|
|
ninja
|
2021-01-06 03:15:27 +01:00
|
|
|
sudo ninja install
|
|
|
|
cd ../tinywl
|
2021-11-19 16:52:57 +01:00
|
|
|
CFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" make
|
2017-08-04 22:51:44 +02: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
|
2021-09-13 11:39:51 +02:00
|
|
|
udevadm settle
|
2021-08-05 18:54:37 +02:00
|
|
|
export WLR_BACKENDS=drm
|
|
|
|
export WLR_RENDERER=pixman
|
|
|
|
export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card
|
2023-11-02 11:01:08 +01:00
|
|
|
export UBSAN_OPTIONS=halt_on_error=1
|
2021-08-05 18:54:37 +02:00
|
|
|
sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card
|
2021-09-13 11:39:51 +02:00
|
|
|
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]
|