aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2021-12-21 04:02:17 +0000
committerIsaac Freund <mail@isaacfreund.com>2021-12-22 03:56:47 +0000
commit2288778dd794507c3d18524496340b2e29008221 (patch)
treef5d9c3079425eaec5c10e0424f337ef89350887b /.github
parentc34d850397380a67e864a3c271149f4c040b919a (diff)
downloadriver-2288778dd794507c3d18524496340b2e29008221.tar.gz
river-2288778dd794507c3d18524496340b2e29008221.tar.xz
ci: update for wlroots 0.15.0
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_build.yml61
1 files changed, 36 insertions, 25 deletions
diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml
index 30e810e..a24888a 100644
--- a/.github/workflows/ci_build.yml
+++ b/.github/workflows/ci_build.yml
@@ -1,6 +1,3 @@
-# Build river and run the test suite every time a commit is pushed to master or
-# a pull request is opened against master.
-
on:
push:
branches:
@@ -9,7 +6,7 @@ on:
branches:
- master
-name: voidlinux
+name: voidlinux glibc
jobs:
default_build:
@@ -22,18 +19,26 @@ jobs:
run: |
xbps-install -Sy xbps
xbps-install -uy
- # wlroots dependencies as well as we build from source
+ # wayland/wlroots dependencies as well as we build from source
xbps-install -y 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
+ libinput-devel libxkbcommon-devel pixman-devel expat-devel libxml2-devel \
+ libffi-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://gitlab.freedesktop.org/wayland/wayland.git
+ cd wayland
+ git checkout 1.20.0
+ meson build -Ddocumentation=false -Dtests=false --prefix /usr
+ ninja -C build install
+ cd ..
- git clone https://github.com/swaywm/wlroots.git
+ git clone https://gitlab.freedesktop.org/wlroots/wlroots.git
cd wlroots
- git checkout 0.14.0
- meson build --auto-features=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false
+ git checkout 0.15.0
+ meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
+ -Dwerror=false -Db_ndebug=false --prefix /usr
ninja -C build install
- name: checkout
uses: actions/checkout@v2
@@ -58,18 +63,26 @@ jobs:
run: |
xbps-install -Sy xbps
xbps-install -uy
- # wlroots dependencies as well as we build from source
+ # wayland/wlroots dependencies as well as we build from source
xbps-install -y 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
+ libinput-devel libxkbcommon-devel pixman-devel expat-devel libxml2-devel \
+ libffi-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://gitlab.freedesktop.org/wayland/wayland.git
+ cd wayland
+ git checkout 1.20.0
+ meson build -Ddocumentation=false -Dtests=false --prefix /usr
+ ninja -C build install
+ cd ..
- git clone https://github.com/swaywm/wlroots.git
+ git clone https://gitlab.freedesktop.org/wlroots/wlroots.git
cd wlroots
- git checkout 0.14.0
- meson build --auto-features=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false
+ git checkout 0.15.0
+ meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
+ -Dwerror=false -Db_ndebug=false --prefix /usr
ninja -C build install
- name: checkout
uses: actions/checkout@v2
@@ -92,8 +105,7 @@ jobs:
steps:
- name: install deps
run: |
- xbps-install -S
- xbps-install -uy xbps
+ xbps-install -Sy xbps
xbps-install -uy zig git
- name: checkout
@@ -106,5 +118,4 @@ jobs:
zig fmt --check river/
zig fmt --check riverctl/
zig fmt --check rivertile/
- zig fmt --check example/
zig fmt --check build.zig