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: | - build: |
cd wlroots cd wlroots
ninja -C build ninja -C build
sudo ninja -C build install
- build-features-disabled: | - build-features-disabled: |
cd wlroots cd wlroots
meson build --reconfigure -Dauto_features=disabled meson build --reconfigure -Dauto_features=disabled
ninja -C build ninja -C build
- tinywl: |
cd wlroots/tinywl
make

View file

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

View file

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