.github: ubuntu: build and test Xserver via MPBT

Using MPBT for building Xserver and test tools.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-02-17 17:44:16 +01:00
parent 7a109e994d
commit 8abe892be5
5 changed files with 75 additions and 3 deletions

View File

@@ -18,9 +18,14 @@ echo "=== MESON_BUILDDIR=$MESON_BUILDDIR"
export XTEST_DIR="$X11_BUILD_DIR/xts"
export PIGLIT_DIR="$X11_BUILD_DIR/piglit"
.github/scripts/install-prereq.sh
go install github.com/metux/mpbt/cmd/mpbt-builder@v0.1.2
.github/scripts/meson-build.sh
~/go/bin/mpbt-builder \
-root . \
-solution .mpbt/cf/xlibre/solutions/github-ubuntu-xserver.yaml \
build
( cd $X11_BUILD_DIR/xts && xvfb-run make tetexec.cfg )
echo '[xts]' > $X11_BUILD_DIR/piglit/piglit.conf
echo "path=$X11_BUILD_DIR/xts" >> $X11_BUILD_DIR/piglit/piglit.conf