File tree Expand file tree Collapse file tree 1 file changed +37
-1
lines changed
Expand file tree Collapse file tree 1 file changed +37
-1
lines changed Original file line number Diff line number Diff line change 2121
2222jobs :
2323 build-docs :
24- uses :
NVIDIA-NeMo/FW-CI-templates/.github/workflows/[email protected] 24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+ with :
29+ submodules : recursive
30+
31+ - name : Set up Python
32+ uses : actions/setup-python@v5
33+ with :
34+ python-version : ' 3.12'
35+
36+ - name : Install uv
37+ run : |
38+ curl -LsSf https://astral.sh/uv/0.8.22/install.sh | sh
39+ echo "$HOME/.local/bin" >> $GITHUB_PATH
40+
41+ - name : Create virtual environment
42+ run : uv venv
43+
44+ - name : Install build dependencies
45+ run : uv sync --only-group build
46+
47+ - name : Install docs dependencies
48+ run : uv sync --group docs --no-install-project
49+
50+ - name : Build documentation
51+ run : |
52+ source .venv/bin/activate
53+ cd docs
54+ make html
55+
56+ - name : Upload docs artifact
57+ uses : actions/upload-artifact@v4
58+ with :
59+ name : documentation
60+ path : docs/build/html/
You can’t perform that action at this time.
0 commit comments