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
726 B
YAML
33 lines
726 B
YAML
image: alpine/edge
|
|
packages:
|
|
- eudev-dev
|
|
- ffmpeg-dev
|
|
- libinput-dev
|
|
- libxkbcommon-dev
|
|
- mesa-dev
|
|
- meson
|
|
- pixman-dev
|
|
- wayland-dev
|
|
- wayland-protocols
|
|
- xcb-util-image-dev
|
|
- xcb-util-renderutil-dev
|
|
- xcb-util-wm-dev
|
|
- xwayland
|
|
- libseat-dev
|
|
sources:
|
|
- https://github.com/swaywm/wlroots
|
|
tasks:
|
|
- setup: |
|
|
cd wlroots
|
|
meson build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled
|
|
- build: |
|
|
cd wlroots
|
|
ninja -C build
|
|
sudo ninja -C build install
|
|
- build-features-disabled: |
|
|
cd wlroots
|
|
meson build --reconfigure -Dauto_features=disabled
|
|
ninja -C build
|
|
- tinywl: |
|
|
cd wlroots/tinywl
|
|
make
|