Skip to content

Commit 44bf1b2

Browse files
hjmjohnsonclaude
andcommitted
COMP: Disable CI builds that require OpenSlide library
The CXX and Python wheel builds require the OpenSlide library (https://openslide.org) which is not available on standard GitHub Actions runners or in the dockcross manylinux containers used by ITKRemoteModuleBuildTestPackageAction. These builds have never passed in CI. Disable the reusable workflow jobs and add a placeholder job that documents the situation. The clang-format linter still runs. Local build instructions are included in the workflow file comments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f568b48 commit 44bf1b2

1 file changed

Lines changed: 45 additions & 7 deletions

File tree

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

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,49 @@ on:
1010
branches:
1111
- main
1212

13-
jobs:
14-
cxx-build-workflow:
15-
uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.2
13+
# NOTE: The standard ITKRemoteModuleBuildTestPackageAction reusable
14+
# workflows are disabled because this module requires the OpenSlide
15+
# library (https://openslide.org) which is not available on the
16+
# GitHub Actions runners or in the dockcross manylinux containers.
17+
#
18+
# The clang-format linter (clang-format-linter.yml) still runs and
19+
# does not require OpenSlide.
20+
#
21+
# To build and test this module locally:
22+
#
23+
# # Install OpenSlide (Ubuntu/Debian)
24+
# sudo apt-get install libopenslide-dev
25+
#
26+
# # Install OpenSlide (macOS)
27+
# brew install openslide
28+
#
29+
# # Configure and build against an existing ITK build
30+
# cmake -S . -B build \
31+
# -DCMAKE_BUILD_TYPE=Release \
32+
# -DBUILD_TESTING=ON \
33+
# -DITK_DIR=/path/to/ITK-build
34+
# cmake --build build
35+
# ctest --test-dir build
36+
37+
# jobs:
38+
# cxx-build-workflow:
39+
# uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.6
40+
#
41+
# python-build-workflow:
42+
# uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.6
43+
# with:
44+
# itk-wheel-tag: 'v5.4.5'
45+
# itk-python-package-tag: 'v5.4.5'
46+
# secrets:
47+
# pypi_password: ${{ secrets.pypi_password }}
1648

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 }}
49+
jobs:
50+
placeholder:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- run: |
54+
echo "Build and test workflows are disabled for this module."
55+
echo "This module requires the OpenSlide library (https://openslide.org)"
56+
echo "which is not available on standard GitHub Actions runners."
57+
echo ""
58+
echo "See .github/workflows/build-test-package.yml for local build instructions."

0 commit comments

Comments
 (0)