File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,17 @@ jobs:
1515 - uses : julia-actions/setup-julia@latest
1616 with :
1717 version : ' 1'
18+ - name : Install xvfb and OpenGL libraries
19+ 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
1820 - name : Install dependencies
1921 run : julia --project=docs/ -e 'ENV["JULIA_PKG_SERVER"] = ""; using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2022 - name : Build and deploy
2123 env :
2224 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
2325 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
2426 GKSwstype : " 100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
25- run : julia --project=docs/ --code-coverage=user docs/make.jl
27+ run : |
28+ DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ --code-coverage=user docs/make.jl
2629 - uses : julia-actions/julia-processcoverage@v1
2730 - uses : codecov/codecov-action@v4
2831 with :
You can’t perform that action at this time.
0 commit comments