Add GitHub Actions CI, wheel building, and docs workflows#84
Merged
Conversation
- ci.yml: build check on push to main and PRs (Python 3.12, CUDA, Vulkan) - wheels.yml: cibuildwheel matrix for Python 3.9-3.13 on Windows, triggered by release or manual dispatch. Publishes to PyPI via trusted publishing and uploads wheels to GitHub Release assets. - docs.yml: builds Sphinx docs and deploys to docs branch (GitHub Pages), triggered by release or manual dispatch Also updates docs config: - conf.py: version from importlib.metadata, autoapi_dirs from installed package - Makefile: build output to docs/build (not install/docs) - requirements.txt: add missing numpydoc, myst_parser deps
The humbletim/setup-vulkan-sdk action depends on deprecated actions/cache@v2 which is no longer supported by GitHub Actions.
Add ninja to build-system requires so scikit-build-core uses Ninja instead of the Visual Studio generator. Ninja only needs nvcc on PATH (which we set up), while VS generator requires the CUDA VS integration plugin. Add ilammy/msvc-dev-cmd step to put cl.exe on PATH for Ninja.
- VMA repo has header at include/vk_mem_alloc.h but source expects vma/vk_mem_alloc.h (Vulkan SDK layout). Copy header into expected directory structure at configure time. - Cache CUDA Toolkit install between CI runs to avoid 2+ min download on every build.
keithlostracco
added a commit
that referenced
this pull request
May 27, 2026
* Add GitHub Actions CI, wheel building, and docs workflows - ci.yml: build check on push to main and PRs (Python 3.12, CUDA, Vulkan) - wheels.yml: cibuildwheel matrix for Python 3.9-3.13 on Windows, triggered by release or manual dispatch. Publishes to PyPI via trusted publishing and uploads wheels to GitHub Release assets. - docs.yml: builds Sphinx docs and deploys to docs branch (GitHub Pages), triggered by release or manual dispatch Also updates docs config: - conf.py: version from importlib.metadata, autoapi_dirs from installed package - Makefile: build output to docs/build (not install/docs) - requirements.txt: add missing numpydoc, myst_parser deps * Switch Vulkan SDK action to jakoch/install-vulkan-sdk-action The humbletim/setup-vulkan-sdk action depends on deprecated actions/cache@v2 which is no longer supported by GitHub Actions. * Disable caching on CUDA toolkit action to avoid cache path validation error * Replace CUDA toolkit action with direct NVIDIA installer * Use Ninja generator in CI to avoid CUDA VS integration requirement Add ninja to build-system requires so scikit-build-core uses Ninja instead of the Visual Studio generator. Ninja only needs nvcc on PATH (which we set up), while VS generator requires the CUDA VS integration plugin. Add ilammy/msvc-dev-cmd step to put cl.exe on PATH for Ninja. * Force Ninja generator in CI via CMAKE_GENERATOR env var * Fetch VMA (Vulkan Memory Allocator) via FetchContent for CI compatibility * Fix VMA include path and add CUDA caching - VMA repo has header at include/vk_mem_alloc.h but source expects vma/vk_mem_alloc.h (Vulkan SDK layout). Copy header into expected directory structure at configure time. - Cache CUDA Toolkit install between CI runs to avoid 2+ min download on every build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@
Summary
docsbranch (GitHub Pages). Triggered by release or manual dispatch.docs/source/conf.pyto use installed package instead of hardcoded build pathsdocs/requirements.txtwith missing dependenciesDepends on #83 (Phase 1).
Test plan
@