ci: build wlroots from source

This commit is contained in:
Isaac Freund 2021-06-23 15:14:23 +02:00
parent 41874b47ae
commit 951c11f642

View file

@ -22,9 +22,19 @@ jobs:
run: |
xbps-install -S
xbps-install -uy xbps
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
libxkbcommon-devel pixman-devel pkgconf scdoc git gcc
# wlroots dependencies as well as we build from source
xbps-install -uy MesaLib-devel libseat-devel eudev-libudev-devel libdrm-devel \
libinput-devel libxkbcommon-devel pixman-devel wayland-devel wayland-protocols \
xcb-util-errors-devel xcb-util-wm-devel xcb-util-renderutil-devel libxcb-devel \
xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \
xcb-util-xrm-devel xorg-server-xwayland pkg-config meson git gcc \
zig pkgconf scdoc
git clone https://github.com/swaywm/wlroots.git
cd wlroots
git checkout 0.14.0
meson build --auto-features=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false
ninja -C build install
- name: checkout
uses: actions/checkout@v2
with:
@ -48,10 +58,19 @@ jobs:
run: |
xbps-install -S
xbps-install -uy xbps
xbps-install -uy
xbps-install -uy zig wayland-devel wayland-protocols wlroots-devel \
libxkbcommon-devel pixman-devel pkgconf scdoc git gcc
# wlroots dependencies as well as we build from source
xbps-install -uy MesaLib-devel libseat-devel eudev-libudev-devel libdrm-devel \
libinput-devel libxkbcommon-devel pixman-devel wayland-devel wayland-protocols \
xcb-util-errors-devel xcb-util-wm-devel xcb-util-renderutil-devel libxcb-devel \
xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel \
xcb-util-xrm-devel xorg-server-xwayland pkg-config meson git gcc \
zig pkgconf scdoc
git clone https://github.com/swaywm/wlroots.git
cd wlroots
git checkout 0.14.0
meson build --auto-features=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false
ninja -C build install
- name: checkout
uses: actions/checkout@v2
with:
@ -75,7 +94,6 @@ jobs:
run: |
xbps-install -S
xbps-install -uy xbps
xbps-install -uy
xbps-install -uy zig git
- name: checkout