ci: build tinywl

This commit is contained in:
Simon Zeni 2021-01-05 21:15:27 -05:00 committed by Simon Ser
parent e136a4168b
commit 826108373c
3 changed files with 38 additions and 26 deletions

View File

@ -21,7 +21,11 @@ tasks:
- 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

View File

@ -18,11 +18,14 @@ sources:
tasks:
- setup: |
cd wlroots
CC=gcc meson build-gcc -Dauto_features=enabled -Dlogind-provider=systemd
CC=gcc meson build-gcc -Dauto_features=enabled -Dlogind-provider=systemd --prefix /usr
CC=clang meson build-clang -Dauto_features=enabled -Dlogind-provider=systemd
- gcc: |
cd wlroots/build-gcc
ninja
sudo ninja install
cd ../tinywl
make
- clang: |
cd wlroots/build-clang
ninja

View File

@ -1,29 +1,34 @@
image: freebsd/latest
packages:
- devel/evdev-proto
- devel/libepoll-shim
- devel/libudev-devd
- devel/meson # implies ninja
- devel/pkgconf
- graphics/libdrm
- graphics/mesa-libs
- graphics/png
- graphics/wayland
- graphics/wayland-protocols
- misc/e2fsprogs-libuuid
- multimedia/ffmpeg
- x11/libX11
- x11/libinput
- x11/libxcb
- x11/libxkbcommon
- x11/pixman
- x11/xcb-util-errors
- x11/xcb-util-wm
- sysutils/seatd
- devel/evdev-proto
- devel/libepoll-shim
- devel/libudev-devd
- devel/meson # implies ninja
- devel/pkgconf
- graphics/libdrm
- graphics/mesa-libs
- graphics/png
- graphics/wayland
- graphics/wayland-protocols
- misc/e2fsprogs-libuuid
- multimedia/ffmpeg
- x11/libX11
- x11/libinput
- x11/libxcb
- x11/libxkbcommon
- x11/pixman
- x11/xcb-util-errors
- x11/xcb-util-wm
- sysutils/seatd
- gmake
sources:
- https://github.com/swaywm/wlroots
- https://github.com/swaywm/wlroots
tasks:
- wlroots: |
cd wlroots
meson build -Dauto_features=enabled -Dlogind=disabled
ninja -C build
- wlroots: |
cd wlroots
meson build -Dauto_features=enabled -Dlogind=disabled
ninja -C build
sudo ninja -C build install
- tinywl: |
cd wlroots/tinywl
gmake