mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-06 05:25:58 +01:00
8d2a94b0df
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
639 B
YAML
33 lines
639 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 --default-library=both -Dauto_features=enabled --prefix /usr
|
|
CC=clang meson build-clang -Dauto_features=enabled
|
|
- gcc: |
|
|
cd wlroots/build-gcc
|
|
ninja
|
|
sudo ninja install
|
|
cd ../tinywl
|
|
make
|
|
- clang: |
|
|
cd wlroots/build-clang
|
|
ninja
|