From: Pierre Le Marre Date: Mon, 18 Sep 2023 11:17:30 +0000 (+0200) Subject: CI: Use git master for xkeyboard-config on Linux X-Git-Tag: accepted/tizen/unified/20240109.155348~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=cf228acd26b8798e077ae83b5a1351af0b78a287;p=platform%2Fupstream%2Flibxkbcommon.git 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. --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 21b20b5..bd1cfe6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -31,6 +31,19 @@ jobs: sudo apt install -y \ doxygen libxcb-xkb-dev valgrind ninja-build \ 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 run: | # -gdwarf-4 - see https://github.com/llvm/llvm-project/issues/56550.