wlroots/.builds/alpine.yml
Kenny Levinsen 8d2a94b0df ci: Build both static and shared
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.
2021-06-17 11:02:30 +02:00

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