mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 11:55:59 +01:00
f6ae028e99
New warnings can be hard to notice in CI, since CI will just pass in that case. Meson sometimes uses warnings for important mistakes, e.g. invalid option. Let's turn warnings into errors so that we can spot these more easily.
33 lines
685 B
YAML
33 lines
685 B
YAML
image: archlinux
|
|
packages:
|
|
- clang
|
|
- ffmpeg
|
|
- libinput
|
|
- libxkbcommon
|
|
- mesa
|
|
- meson
|
|
- pixman
|
|
- wayland
|
|
- wayland-protocols
|
|
- xcb-util-errors
|
|
- xcb-util-image
|
|
- xcb-util-renderutil
|
|
- xcb-util-wm
|
|
- xorg-xwayland
|
|
- seatd
|
|
sources:
|
|
- https://github.com/swaywm/wlroots
|
|
tasks:
|
|
- setup: |
|
|
cd wlroots
|
|
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
|
|
- gcc: |
|
|
cd wlroots/build-gcc
|
|
ninja
|
|
sudo ninja install
|
|
cd ../tinywl
|
|
make
|
|
- clang: |
|
|
cd wlroots/build-clang
|
|
ninja
|