From c057480db76cb7c782df2b9aef18b08e0132f03e Mon Sep 17 00:00:00 2001 From: benedict-96 Date: Wed, 20 Nov 2024 14:08:51 +0100 Subject: [PATCH] Added xvfb for GLMakie. --- .github/workflows/Documenter.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml index 423b7e3..e35ecf4 100644 --- a/.github/workflows/Documenter.yml +++ b/.github/workflows/Documenter.yml @@ -20,6 +20,8 @@ jobs: sudo apt-get install imagemagick sudo apt-get install poppler-utils sudo apt-get install texlive-xetex + - name: Install binary dependencies + run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev - name: Generate Images run: | make all -C src/images @@ -27,12 +29,14 @@ jobs: working-directory: docs - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-docdeploy@v1 + with: + prefix: xvfb-run env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} GKSwstype: 100 - name: Run doctests - shell: julia --project=docs --color=yes {0} + shell: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs --color=yes {0} run: | using Documenter: DocMeta, doctest using GeometricProblems