.github: fix MacOS build

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
parent 8c2b6dec47
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::"