From 951c11f6423c7343125ee9e7ef8b26bb8fe46430 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 23 Jun 2021 15:14:23 +0200 Subject: [PATCH] ci: build wlroots from source --- .github/workflows/ci_build.yml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index 58dee0b..e95e5e7 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -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