Skip to content

Commit

Permalink
added xvfb-run to install deps step, because i think GLMakie needs a …
Browse files Browse the repository at this point in the history
…screen for precomp
  • Loading branch information
jonathanfischer97 committed Oct 26, 2024
1 parent 4c1573a commit 0a70c28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:

# Install Julia package dependencies for the documentation project
- name: Install dependencies
run: julia --project=docs/ -e 'ENV["JULIA_PKG_SERVER"] = ""; using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: >
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ -e 'ENV["JULIA_PKG_SERVER"] = ""; using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
# Build and deploy the documentation using xvfb to simulate a display for GLMakie
# xvfb-run: Runs Julia with a virtual display to support OpenGL rendering
Expand Down

0 comments on commit 0a70c28

Please sign in to comment.