mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
Using MPBT for building Xserver and test tools. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
38 lines
823 B
Bash
Executable File
38 lines
823 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [ ! "$X11_BUILD_DIR" ]; then
|
|
echo "missing X11_BUILD_DIR" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! "$MESON_BUILDDIR" ]; then
|
|
echo "missing MESON_BUILDDIR" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "=== X11_BUILD_DIR=$X11_BUILD_DIR"
|
|
echo "=== MESON_BUILDDIR=$MESON_BUILDDIR"
|
|
|
|
export XTEST_DIR="$X11_BUILD_DIR/xts"
|
|
export PIGLIT_DIR="$X11_BUILD_DIR/piglit"
|
|
|
|
go install github.com/metux/mpbt/cmd/mpbt-builder@v0.1.2
|
|
|
|
~/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
|
|
|
|
meson test -C "$MESON_BUILDDIR" --print-errorlogs
|
|
|
|
.github/scripts/check-ddx-build.sh
|
|
|
|
.github/scripts/manpages-check
|