Skip to content

Commit 7dcc0b6

Browse files
hjmjohnsonclaude
andcommitted
COMP: Re-enable CXX CI with system package inputs for OpenSlide
Re-enable the CXX build workflow using the new apt-packages, brew-packages, and os-list inputs from ITKRemoteModuleBuildTestPackageAction to install OpenSlide on Linux and macOS runners. Windows is excluded via os-list because OpenSlide has no Windows package manager distribution. Python wheel builds remain disabled because OpenSlide is not available in the dockcross manylinux containers used for wheel building. Also updates minimum Python version to 3.10+. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f568b48 commit 7dcc0b6

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/build-test-package.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ on:
1212

1313
jobs:
1414
cxx-build-workflow:
15-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.2
15+
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@add-apt-packages-input
16+
with:
17+
apt-packages: 'libopenslide-dev'
18+
brew-packages: 'openslide'
19+
os-list: '["ubuntu-22.04", "macos-15-intel", "macos-15"]'
1620

17-
python-build-workflow:
18-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.2
19-
secrets:
20-
pypi_password: ${{ secrets.pypi_password }}
21+
# python-build-workflow:
22+
# # Python wheel builds are disabled because OpenSlide is not available
23+
# # in the dockcross manylinux containers used for wheel building.
24+
# # To build and test locally:
25+
# # sudo apt-get install libopenslide-dev # Ubuntu/Debian
26+
# # brew install openslide # macOS
27+
# # cmake -S . -B build -DBUILD_TESTING=ON -DITK_DIR=/path/to/ITK-build
28+
# # cmake --build build && ctest --test-dir build
29+
# uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6
30+
# secrets:
31+
# pypi_password: ${{ secrets.pypi_password }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ classifiers = [
3737
"Topic :: Scientific/Engineering :: Medical Science Apps.",
3838
"Topic :: Software Development :: Libraries",
3939
]
40-
requires-python = ">=3.9"
40+
requires-python = ">=3.10"
4141
dependencies = [
4242
"itk == 5.4.*",
4343
]

0 commit comments

Comments
 (0)