CI: Use git master for xkeyboard-config on Linux

xkeyboard-config and xkbcommon projects are quite intertwined so we
want things to blow up early.

It also solves an issue with the x11comp test.
master
Pierre Le Marre 2023-09-18 13:17:30 +02:00 committed by Wismill
parent fe9cd66fca
commit cf228acd26
1 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,19 @@ jobs:
sudo apt install -y \ sudo apt install -y \
doxygen libxcb-xkb-dev valgrind ninja-build \ doxygen libxcb-xkb-dev valgrind ninja-build \
libwayland-dev wayland-protocols bison graphviz libwayland-dev wayland-protocols bison graphviz
- name: Install xkeyboard-config
run: |
# Install master version of xkeyboard-config, in order to ensure
# its latest version works well with xkbcommon.
# HACK: We use meson to install, while it would be cleaner
# to create a proper package to install or use some PPA.
pushd ~
git clone --depth=1 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config.git
cd "xkeyboard-config"
BUILDDIR=build
meson setup $BUILDDIR -Dprefix=/usr
meson install -C $BUILDDIR
popd
- name: Setup - name: Setup
run: | run: |
# -gdwarf-4 - see https://github.com/llvm/llvm-project/issues/56550. # -gdwarf-4 - see https://github.com/llvm/llvm-project/issues/56550.