File tree 1 file changed +40
-0
lines changed
Filter options
1 file changed +40
-0
lines changed
Original file line number Diff line number Diff line change
1
+ name : Docs
2
+ on : [push, release]
3
+
4
+ jobs :
5
+ notebooks :
6
+ name : " Build the notebooks for the docs"
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ with :
11
+ lfs : true
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v5
14
+ with :
15
+ python-version : 3.11
16
+ - name : Install llvmpipe and lavapipe for offscreen canvas
17
+ run : |
18
+ sudo apt-get update -y -qq
19
+ sudo apt-get install --no-install-recommends -y ffmpeg libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers git-lfs
20
+ - name : Install dev dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip setuptools
23
+ # remove pygfx from install_requires, we install using pygfx@main
24
+ sed -i "/pygfx/d" ./setup.py
25
+ pip install git+https://github.com/pygfx/pygfx.git@main
26
+ pip install -e ".["docs"]"
27
+ - name : Show wgpu backend
28
+ run :
29
+ python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
30
+ - name : build docs
31
+ run : |
32
+ cd docs
33
+ RTD_BUILD=1 make html
34
+ - name : Deploy docs
35
+ uses : SamKirkland/FTP-Deploy-Action@v4.3.5
36
+ with :
37
+ server : ${{ secrets.DOCS_SERVER }}
38
+ username : ${{ secrets.DOCS_USERNAME }}
39
+ password : ${{ secrets.DOCS_PASSWORD }}
40
+ local-dir : docs/build/html/
You can’t perform that action at this time.
0 commit comments