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

@ -20,6 +20,7 @@ packages:
- x11/xcb-util-errors
- x11/xcb-util-wm
- sysutils/seatd
- gmake
sources:
- https://github.com/swaywm/wlroots
tasks:
@ -27,3 +28,7 @@ tasks:
cd wlroots
meson build -Dauto_features=enabled -Dlogind=disabled
ninja -C build
sudo ninja -C build install
- tinywl: |
cd wlroots/tinywl
gmake