From 2b12e7f297d409ceeade3f11efb0df317db11ee3 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 14 Apr 2024 18:24:34 +0200 Subject: [PATCH] Faking X --- .github/workflows/build_fluid_docs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_fluid_docs.yml b/.github/workflows/build_fluid_docs.yml index 124ee77db8..2e5fdeceda 100644 --- a/.github/workflows/build_fluid_docs.yml +++ b/.github/workflows/build_fluid_docs.yml @@ -35,6 +35,8 @@ jobs: sudo apt-get install -y libwayland-dev wayland-protocols libdbus-1-dev libxkbcommon-dev libpango1.0-dev libgtk-3-dev sudo apt-get install -y doxygen sudo apt-get install -y doxygen-latex + sudo apt-get install -y xvfb + sudo apt-get install -y x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps ## Use the following line when 1.10.0 becomes available on Ubuntu. On 4/14/24 it's 1.9.2 # sudo apt-get install -y doxygen=1.10.0 @@ -67,7 +69,8 @@ jobs: working-directory: ${{github.workspace}}/build shell: bash run: | - startx + Xvfb :19 -screen 0 1024x768x16 & + export DISPLAY=:19 cmake --build . --config Debug --target fluid_docs cmake --build . --config Debug --target fluid_pdf ls $GITHUB_WORKSPACE/fluid/documentation