Skip to content

Commit 014f841

Browse files
committed
Add docs build job to CI
Signed-off-by: cdunning <cdunning@nvidia.com>
1 parent 0f92985 commit 014f841

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
outputs:
2323
lint: ghcr.io/nvidia/cutile-python/lint:2025-12-16-8f8dc037a629
24+
docs: ghcr.io/nvidia/cutile-python/docs:2025-12-16-efbff374c2ca
2425
build_py310: ghcr.io/nvidia/cutile-python/build_py_3.10_x86_64:2025-12-16-7586f904479b
2526
build_py311: ghcr.io/nvidia/cutile-python/build_py_3.11_x86_64:2025-12-16-bd57fbae3794
2627
build_py312: ghcr.io/nvidia/cutile-python/build_py_3.12_x86_64:2025-12-16-3eb50f53e2e8
@@ -51,6 +52,27 @@ jobs:
5152
- name: Check inline samples are up to date
5253
run: python3 test/tools/inline_samples.py --check
5354

55+
docs:
56+
name: Build Docs
57+
needs: images
58+
runs-on: ubuntu-latest
59+
timeout-minutes: 10
60+
container:
61+
image: ${{ needs.images.outputs.docs }}
62+
steps:
63+
- name: Checkout repository
64+
uses: actions/checkout@v6
65+
66+
- name: Build documentation
67+
run: make -C docs html
68+
69+
- name: Upload docs artifact
70+
uses: actions/upload-artifact@v4
71+
with:
72+
name: docs-html
73+
path: docs/build/html
74+
retention-days: 7
75+
5476
build:
5577
name: Build Wheel (Python ${{ matrix.python-version }})
5678
needs: images

0 commit comments

Comments
 (0)