.github: fix MacOS build
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run

MacOS build suddenly missing xvfb-run, which did work up until few hours ago.
Therefore, make a quick workaround, until the situation is clearly resolved.

The only impact is that some XTS tests (which are ignored on MacOS anyways)
might not work properly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-08-28 23:23:50 +02:00
commit ebeba052b5

View file

@ -85,7 +85,11 @@ build_ac_xts() {
cd $pkgname
CFLAGS='-fcommon'
./autogen.sh --prefix=$X11_PREFIX CFLAGS="$CFLAGS"
xvfb-run make -j${FDO_CI_CONCURRENT:-4} install tetexec.cfg
if [ "$X11_OS" = "Darwin" ]; then
make -j${FDO_CI_CONCURRENT:-4} install tetexec.cfg
else
xvfb-run make -j${FDO_CI_CONCURRENT:-4} install tetexec.cfg
fi
)
touch $X11_PREFIX/$pkgname.DONE
echo "::endgroup::"