Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 2 additions & 26 deletions .github/workflows/cicd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,33 +168,9 @@ jobs:
run: uv cache prune --ci

sphinx-build:
if: ${{ needs.pre-flight.outputs.test_level != 'none' }}
name: Sphinx build
needs: [pre-flight]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.7.2"
enable-cache: true
prune-cache: false
# Faster than uv python install since it caches python alongside runner
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: build docs
run: |
uv venv
cd docs/
uv run --group docs sphinx-build --fail-on-warning --builder html . _build/html
- name: Minimize uv cache
run: uv cache prune --ci
if: ${{ needs.pre-flight.outputs.test_level != 'none' }}
uses: NVIDIA-NeMo/FW-CI-templates/.github/workflows/_build_docs.yml@v0.48.0

build-container:
if: ${{ needs.pre-flight.outputs.test_level != 'none' }}
Expand Down
Loading