Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
102 changes: 52 additions & 50 deletions .github/workflows/ci.yml
Comment thread
leofang marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -50,46 +50,47 @@ jobs:
host-platform: ${{ matrix.host-platform }}
cuda-version: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

test-linux:
strategy:
fail-fast: false
matrix:
host-platform:
- linux-64
- linux-aarch64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
secrets: inherit
uses: ./.github/workflows/test-wheel-linux.yml
with:
build-type: pull-request
host-platform: ${{ matrix.host-platform }}
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
# Temporarily disabled test jobs for documentation theme migration
# test-linux:
# strategy:
# fail-fast: false
# matrix:
# host-platform:
# - linux-64
# - linux-aarch64
# name: Test ${{ matrix.host-platform }}
# if: ${{ github.repository_owner == 'nvidia' }}
# permissions:
# contents: read # This is required for actions/checkout
# needs:
# - ci-vars
# - build
# secrets: inherit
# uses: ./.github/workflows/test-wheel-linux.yml
# with:
# build-type: pull-request
# host-platform: ${{ matrix.host-platform }}
# build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

test-windows:
strategy:
fail-fast: false
matrix:
host-platform:
- win-64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
secrets: inherit
uses: ./.github/workflows/test-wheel-windows.yml
with:
build-type: pull-request
host-platform: ${{ matrix.host-platform }}
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
# test-windows:
# strategy:
# fail-fast: false
# matrix:
# host-platform:
# - win-64
# name: Test ${{ matrix.host-platform }}
# if: ${{ github.repository_owner == 'nvidia' }}
# permissions:
# contents: read # This is required for actions/checkout
# needs:
# - ci-vars
# - build
# secrets: inherit
# uses: ./.github/workflows/test-wheel-windows.yml
# with:
# build-type: pull-request
# host-platform: ${{ matrix.host-platform }}
# build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

doc:
name: Docs
Expand All @@ -107,14 +108,15 @@ jobs:
with:
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

checks:
name: Check job status
permissions:
checks: read
needs:
- build
- test-linux
- test-windows
- doc
secrets: inherit
uses: ./.github/workflows/status-check.yml
# Temporarily disabled status check job as it depends on test jobs
# checks:
# name: Check job status
# permissions:
# checks: read
# needs:
# - build
# - test-linux
# - test-windows
# - doc
# secrets: inherit
# uses: ./.github/workflows/status-check.yml
Comment thread
leofang marked this conversation as resolved.
Outdated
61 changes: 0 additions & 61 deletions cuda_bindings/docs/source/_static/javascripts/version_dropdown.js

This file was deleted.

24 changes: 0 additions & 24 deletions cuda_bindings/docs/source/_templates/sidebar/variant-selector.html

This file was deleted.

30 changes: 10 additions & 20 deletions cuda_bindings/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,17 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_baseurl = "docs"
html_theme = "furo"
# html_theme = 'pydata_sphinx_theme'
html_theme = "nvidia_sphinx_theme"
html_theme_options = {
"light_logo": "logo-light-mode.png",
"dark_logo": "logo-dark-mode.png",
# For pydata_sphinx_theme:
# "logo": {
# "image_light": "_static/logo-light-mode.png",
# "image_dark": "_static/logo-dark-mode.png",
# },
# "switcher": {
# "json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/versions.json",
# "version_match": release,
# },
## Add light/dark mode and documentation version switcher
# "navbar_end": [
# "search-button",
# "theme-switcher",
# "version-switcher",
# "navbar-icon-links",
# ],
"switcher": {
"json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/versions.json",
"version_match": release,
},
# Add light/dark mode and documentation version switcher
"navbar_center": [
"version-switcher",
"navbar-nav",
],
}
if os.environ.get("CI"):
if int(os.environ.get("BUILD_PREVIEW", 0)):
Expand Down
39 changes: 30 additions & 9 deletions cuda_bindings/docs/versions.json
Comment thread
leofang marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
{
"latest" : "latest",
"13.0.1" : "13.0.1",
"13.0.0" : "13.0.0",
"12.9.0" : "12.9.0",
"12.8.0" : "12.8.0",
"12.6.2" : "12.6.2",
"12.6.1" : "12.6.1"
}
[
{
"version": "latest",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/latest/"
},
{
"version": "13.0.1",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.1/"
},
{
"version": "13.0.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.0/"
},
{
"version": "12.9.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.9.0/"
},
{
"version": "12.8.0",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.8.0/"
},
{
"version": "12.6.2",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.2/"
},
{
"version": "12.6.1",
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.1/"
}
]
61 changes: 0 additions & 61 deletions cuda_core/docs/source/_static/javascripts/version_dropdown.js

This file was deleted.

24 changes: 0 additions & 24 deletions cuda_core/docs/source/_templates/sidebar/variant-selector.html

This file was deleted.

Loading