mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
This allows us to validate the objcopy trick in CI. It's basically free to build both static and shared libraries anyway. We only enable this for GCC builds right now, as Meson currently lacks support for prelinking with other compilers.
33 lines
722 B
YAML
33 lines
722 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 --default-library=both -Dauto_features=enabled -Dlibseat=disabled -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
|