Skip to content

ENH: Cross-platform CI with GitHub Actions - #153

Open
dzenanz wants to merge 4 commits into
Kitware:masterfrom
dzenanz:ci-github-actions-matrix
Open

dzenanz wants to merge 4 commits into
Kitware:masterfrom
dzenanz:ci-github-actions-matrix

Conversation

@dzenanz

@dzenanz dzenanz commented Dec 1, 2026

Copy link
Copy Markdown
Member

Closes #143.

Replaces the defunct Travis CI, AppVeyor, and CircleCI setups with a GitHub Actions matrix: Ubuntu GCC (shared), Ubuntu Clang (static, system zlib), macOS AppleClang (shared), and Windows MSVC (shared and static). A second job builds ITK's ITKIOMeta and ITKIOSpatialObjects tests against this checkout, replacing the CircleCI Docker job.

Two Windows DLL build bugs surfaced and are fixed in separate commits:

  • itkzlib/zlib.def exported gz* functions whose sources were dropped in the zlib 1.3.1 update.
  • The standalone MetaIO target never defined metaio_EXPORTS, so its symbols were declared dllimport while building the DLL.

The README is also converted to Markdown with a single CI badge.

Code and description prepared with AI assistance (Claude Code).

🤖 Generated with Claude Code

The zlib 1.3.1 update dropped the gz*.c sources, so linking itkzlib as
a Windows DLL failed with unresolved externals for these exports.
localMetaConfiguration.h selects dllexport on metaio_EXPORTS, but only
the VTK build defined it. CMake's default symbol for the MetaIO target
is MetaIO_EXPORTS, so the library compiled its own definitions as
dllimport and failed.
Travis CI, AppVeyor, and CircleCI no longer run. The matrix covers GCC,
Clang, AppleClang, and MSVC with shared and static libraries plus the
system zlib. A second job builds ITK's MetaIO consumers against this
checkout, replacing the Docker image the CircleCI job used.

Closes Kitware#143.
@dzenanz
dzenanz marked this pull request as ready for review December 1, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CI

1 participant