Skip to content

Commit 77985c7

Browse files
authored
Update documentation github workflow to work with GLMakie
Using xvfb, x virtual frame buffer
1 parent 1362707 commit 77985c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ jobs:
2121
with:
2222
version: '1'
2323
- uses: julia-actions/cache@v2
24+
- name: Install virtual frame buffer
25+
run: sudo apt-get update && sudo apt-get install -y xvfb
2426
- name: Install dependencies
2527
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
2628
- name: Build and deploy
2729
env:
2830
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
2931
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
30-
run: julia --project=docs/ docs/make.jl
32+
run: >
33+
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
34+
julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)