Skip to content

ENH: Add the Torch-backed dense registration pipeline + examples #10

ENH: Add the Torch-backed dense registration pipeline + examples

ENH: Add the Torch-backed dense registration pipeline + examples #10

name: Build, test, package
on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
cxx-build-workflow:
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.6
with:
# macos-15-intel is dropped: torch 2.12 ships no x86 macOS wheel, so the module's
# LibTorch dependency cannot be provisioned there. Linux, Windows and Apple Silicon
# all have a torch 2.12 wheel (auto-installed by itk-module-init.cmake at configure).
os-list: '["ubuntu-22.04", "windows-2022", "macos-15"]'
# NOTE: the Python wheel job is intentionally disabled for now.
# itk-impact links LibTorch, which the stock ITK wheel build (dockcross manylinux, no
# Torch/CUDA in the container) does not provision, and the reusable workflow cannot exclude
# libtorch from the wheel. Wheels are built out-of-band until this is wired up properly.
# To re-enable once ready:
# python-build-workflow:
# uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6
# secrets:
# pypi_password: ${{ secrets.pypi_password }}