wlroots/.builds/archlinux.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

34 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