Skip to content

Commit 4e69187

Browse files
committed
try to get the docs compile with GLMakie
1 parent d9d06fb commit 4e69187

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,24 @@ jobs:
1717
- uses: julia-actions/setup-julia@v1
1818
with:
1919
version: '1.10'
20-
- name: Install dependencies
21-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20+
- name: Install binary dependencies
21+
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
22+
- uses: actions/checkout@v4
23+
- name: Download all workflow run artifacts
24+
uses: actions/download-artifact@v4
25+
- uses: julia-actions/setup-julia@latest
26+
with:
27+
version: '1'
28+
- uses: julia-actions/cache@v2
29+
- name: Install documentation dependencies
30+
run: |
31+
xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e '
32+
using Pkg
33+
Pkg.develop(PackageSpec(path=pwd()))
34+
Pkg.add(name = "GLMakie", rev = "master")
35+
Pkg.instantiate()'
36+
env:
37+
DISPLAY: ':0'
2238
- name: Build and deploy
2339
env:
2440
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token

0 commit comments

Comments
 (0)