You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build ITK wheels and ITKPythonBuilds caches on GitHub Actions (weekly and release) #126
A draft weekly wheel build on GitHub Actions (ccache on Linux and macOS, sccache on Windows) is on branch weekly-wheels-gha in BRAINSia/ITKPythonPackage. It is built on top of #312 and has not been run yet.
Estimated times on standard runners are 6 to 10 hours per target, so the workflow splits each build into two chained stages; the compiler cache for all four targets is estimated at 10 to 12 GB, at the repository's default cache limit. A trial run will confirm the times and cache sizes.
Still wanted, with a narrower goal: ITKRemoteModuleBuildTestPackageAction builds module wheels against existing ITKPythonBuilds caches, but nothing on CI builds ITK's own wheels or those caches. Recommend keeping this open, retitled to "Build ITK wheels and ITKPythonBuilds caches on GitHub Actions (weekly and release)"; the cibuildwheel idea is superseded by the pixi build in #312.
Current state
main has three workflows (tests.yaml, docs.yaml, pre-commit.yaml), none of which builds ITK.
Releases are built by hand on four hosts with pixi run release-wheels <itk-ref>, then published with pixi run -e publish publish-wheels (PyPI) and pixi run -e publish publish-tarball-cache (ITKPythonBuilds).
A draft weekly workflow is on weekly-wheels-gha in
BRAINSia/ITKPythonPackage and has not been run.
Time: 1.5 to 2.5 h per platform on a 12-core workstation, estimated
6 to 10 h on standard runners. The job limit is 6 h, so each target
needs two chained jobs, or a paid larger runner (estimated $45 to $50
a week for all four).
Compiler cache: about 10 to 12 GB for four targets, at the 10 GB
default repository limit.
Secrets: a PyPI token or trusted publishing, and a token that can
write releases on ITKPythonBuilds.
changed the title [-]Build / Deploy on GitHub Actions[/-][+]Build ITK wheels and ITKPythonBuilds caches on GitHub Actions (weekly and release)[/+]on Nov 25, 2026
Activity
[-]Build / Deploy on Azure Pipelines[/-][+]Build / Deploy on GitHub Actions[/+]thewtex commentedon Oct 21, 2020
In the process, migrate to the
ITKrepository.thewtex commentedon Nov 24, 2022
Investigate cibuildwheel.
hjmjohnson commentedon Nov 22, 2026
A draft weekly wheel build on GitHub Actions (ccache on Linux and macOS, sccache on Windows) is on branch
weekly-wheels-ghain BRAINSia/ITKPythonPackage. It is built on top of #312 and has not been run yet.Estimated times on standard runners are 6 to 10 hours per target, so the workflow splits each build into two chained stages; the compiler cache for all four targets is estimated at 10 to 12 GB, at the repository's default cache limit. A trial run will confirm the times and cache sizes.
ENH: Build the wheels weekly on GitHub Actions
hjmjohnson commentedon Nov 25, 2026
Still wanted, with a narrower goal: ITKRemoteModuleBuildTestPackageAction builds module wheels against existing ITKPythonBuilds caches, but nothing on CI builds ITK's own wheels or those caches. Recommend keeping this open, retitled to "Build ITK wheels and ITKPythonBuilds caches on GitHub Actions (weekly and release)"; the cibuildwheel idea is superseded by the pixi build in #312.
Current state
mainhas three workflows (tests.yaml,docs.yaml,pre-commit.yaml), none of which builds ITK.pixi run release-wheels <itk-ref>, then published withpixi run -e publish publish-wheels(PyPI) andpixi run -e publish publish-tarball-cache(ITKPythonBuilds).weekly-wheels-ghainBRAINSia/ITKPythonPackage and has not been run.
What a release workflow needs
ubuntu-24.04,ubuntu-24.04-arm,macos-15,windows-2022.6 to 10 h on standard runners. The job limit is 6 h, so each target
needs two chained jobs, or a paid larger runner (estimated $45 to $50
a week for all four).
default repository limit.
write releases on ITKPythonBuilds.
[-]Build / Deploy on GitHub Actions[/-][+]Build ITK wheels and ITKPythonBuilds caches on GitHub Actions (weekly and release)[/+]