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

@ -1,29 +1,34 @@
image: freebsd/latest image: freebsd/latest
packages: packages:
- devel/evdev-proto - devel/evdev-proto
- devel/libepoll-shim - devel/libepoll-shim
- devel/libudev-devd - devel/libudev-devd
- devel/meson # implies ninja - devel/meson # implies ninja
- devel/pkgconf - devel/pkgconf
- graphics/libdrm - graphics/libdrm
- graphics/mesa-libs - graphics/mesa-libs
- graphics/png - graphics/png
- graphics/wayland - graphics/wayland
- graphics/wayland-protocols - graphics/wayland-protocols
- misc/e2fsprogs-libuuid - misc/e2fsprogs-libuuid
- multimedia/ffmpeg - multimedia/ffmpeg
- x11/libX11 - x11/libX11
- x11/libinput - x11/libinput
- x11/libxcb - x11/libxcb
- x11/libxkbcommon - x11/libxkbcommon
- x11/pixman - x11/pixman
- 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:
- wlroots: | - wlroots: |
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