diff --git a/.ci/flatpak/build.sh b/.ci/flatpak/build.sh index 197e006a5de..7016bc06992 100755 --- a/.ci/flatpak/build.sh +++ b/.ci/flatpak/build.sh @@ -5,7 +5,7 @@ echo "::group::flatpak-builder" mkdir -p "$(pwd)/.flatpak-builder" echo "flatpak info --arch=${WZ_FLATPAK_BUILD_ARCH} --show-commit org.freedesktop.Sdk ${WZ_FREEDESKTOP_RUNTIME_VERSION}" flatpak info --arch=${WZ_FLATPAK_BUILD_ARCH} --show-commit org.freedesktop.Sdk ${WZ_FREEDESKTOP_RUNTIME_VERSION} -flatpak run org.flatpak.Builder --verbose --repo=${WZ_FLATPAK_LOCAL_REPO_NAME} --disable-rofiles-fuse --force-clean --install-deps-from=flathub --default-branch=${WZ_FLATPAK_BRANCH} --mirror-screenshots-url=${WZ_FLATPAK_MIRROR_SCREENSHOTS_URL} "${WZ_FLATPAK_BUILD_DIR}" "${WZ_FLATPAK_MANIFEST_PATH}" +xvfb-run --auto-servernum flatpak run org.flatpak.Builder --verbose --repo=${WZ_FLATPAK_LOCAL_REPO_NAME} --disable-rofiles-fuse --force-clean --install-deps-from=flathub --default-branch=${WZ_FLATPAK_BRANCH} --mirror-screenshots-url=${WZ_FLATPAK_MIRROR_SCREENSHOTS_URL} "${WZ_FLATPAK_BUILD_DIR}" "${WZ_FLATPAK_MANIFEST_PATH}" echo "::endgroup::" if [[ "$WZ_FLATPAK_TARGET_ARCH" != "$WZ_FLATPAK_BUILD_ARCH" ]]; then diff --git a/.github/workflows/CI_flatpak.yml b/.github/workflows/CI_flatpak.yml index dd23805e5f7..4ae7c57f498 100644 --- a/.github/workflows/CI_flatpak.yml +++ b/.github/workflows/CI_flatpak.yml @@ -65,7 +65,7 @@ jobs: dnf update -y echo "::endgroup::" echo "::group::dnf install dependencies" - dnf install -y cmake git git-lfs dbus-daemon flatpak flatpak-builder python3-aiohttp python3-tenacity python3-gobject ccache zstd curl appstream + dnf install -y cmake git git-lfs dbus-daemon flatpak flatpak-builder python3-aiohttp python3-tenacity python3-gobject ccache zstd curl appstream xorg-x11-server-Xvfb echo "::endgroup::" echo "::group::flatpak remote-add"