Skip to content

Commit 04c1fa9

Browse files
authored
Update documentation.yml
1 parent a290174 commit 04c1fa9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/documentation.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
build:
12+
env:
13+
MODERNGL_DEBUGGING: "true" # turn on errors when running OpenGL tests
1214
permissions:
1315
actions: write
1416
contents: write
@@ -23,12 +25,12 @@ jobs:
2325
- uses: julia-actions/cache@v2
2426
- name: Install GLMakie dependencies for headless server # From https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl.
2527
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 xsettingsd x11-xserver-utils
26-
- name: Install dependencies
27-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
28-
- name: Build and deploy
28+
- name: Precompile Build and Deploy
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
3131
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
3232
run: >
3333
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
34+
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
3435
julia --project=docs/ docs/make.jl
36+

0 commit comments

Comments
 (0)