wlroots/.builds/alpine.yml
Simon Ser a4e1184712 ci: add debugoptimized GCC build
This makes it possible for GCC to print more warnings. For instance,
the docs for -Wmaybe-uninitialized state [1]:

> These warnings are only possible in optimizing compilation, because
> otherwise GCC does not keep track of the state of variables.

Other warning options have similar requirements as well.

[1]: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized
2024-06-05 00:56:22 +02:00

40 lines
896 B
YAML

image: alpine/edge
packages:
- eudev-dev
- glslang
- lcms2-dev
- libdisplay-info-dev
- libinput-dev
- libliftoff-dev
- libxkbcommon-dev
- mesa-dev
- meson
- pixman-dev
- vulkan-headers
- vulkan-loader-dev
- wayland-dev
- wayland-protocols
- xcb-util-image-dev
- xcb-util-renderutil-dev
- xcb-util-wm-dev
- xwayland-dev
- libseat-dev
- hwdata-dev
sources:
- https://gitlab.freedesktop.org/wlroots/wlroots.git
tasks:
- setup: |
cd wlroots
meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled --buildtype=debugoptimized
- build: |
cd wlroots
ninja -C build
sudo ninja -C build install
- build-features-disabled: |
cd wlroots
meson setup build --reconfigure -Dauto_features=disabled
ninja -C build
- tinywl: |
cd wlroots/tinywl
make