From 5df7d26a98d49331af396dea8e3f5c11f0ca22cd Mon Sep 17 00:00:00 2001 From: Cmurilochem Date: Fri, 25 Oct 2024 14:16:31 +0200 Subject: [PATCH] Fix in docs; test 5 - from https://discourse.julialang.org/t/ci-fails-to-build-glmakie-dependency/80125/2 --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 658a60e1..4ecd3d71 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -83,10 +83,10 @@ jobs: - uses: julia-actions/setup-julia@v1 with: version: '1' - - name: Install and Run xvfb + - name: Prepare env for xvfb run: | - sudo apt-get install -y xvfb - xvfb-run -s '-screen 0 1024x768x24' + 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 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-docdeploy@v1 env: @@ -94,7 +94,7 @@ jobs: - name: Install xvfb run: sudo apt-get install -y xvfb - run: | - julia --project=docs -e ' + DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e ' using Documenter: DocMeta, doctest using GalerkinToolkit DocMeta.setdocmeta!(GalerkinToolkit, :DocTestSetup, :(using GalerkinToolkit); recursive=true)