Skip to content

COMP: Key the ITK cache on the runner image, not only on its OS - #1492

Merged
N-Dekker merged 2 commits into
SuperElastix:mainfrom
vboussot:itk-cache-per-image
Nov 13, 2026
Merged

N-Dekker merged 2 commits into
SuperElastix:mainfrom
vboussot:itk-cache-per-image

Conversation

@vboussot

@vboussot vboussot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

On macos-15 the CI restored the ITK built on macos-14, as both images
have the runner.os macOS. That ITK links the libiconv of macos-14's
Xcode 15.4 SDK by its absolute path, which macos-15 does not have, and
the ImpactMetric link failed (#1490). The key now has ImageOS, macos15,
ubuntu22 or win22, so each image builds its own ITK.

On macos-15 the CI restored the ITK built on macos-14, as both images
have the runner.os macOS. That ITK links the libiconv of macos-14's
Xcode 15.4 SDK by its absolute path, which macos-15 does not have, and
the ImpactMetric link failed (SuperElastix#1490). The key now has ImageOS, macos15,
ubuntu22 or win22, so each image builds its own ITK.
Comment thread .github/actions/build_itk/action.yml Resolved
Every GitHub-hosted runner sets ImageOS, so the RUNNER_OS fallback was
never taken.
@N-Dekker

N-Dekker commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

@vboussot Elastix / build (macos-14) (pull_request) says:

The configuration 'macos-14-arm64-us-default' is not supported

Do you have a clue? Shall I just merge it anyway, as macos-14 won't be supported anymore anyway?

@vboussot

vboussot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

@vboussot Elastix / build (macos-14) (pull_request) says:

The configuration 'macos-14-arm64-us-default' is not supported

Do you have a clue? Shall I just merge it anyway, as macos-14 won't be supported anymore anyway?

https://github.blog/changelog/2026-10-01-github-actions-macos-14-runner-image-retirement/

After merging, #1490 needs a fresh run on the new main (a rebase, or close/reopen): a plain re-run reuses the old merge commit, which still has the shared cache key.

@N-Dekker
N-Dekker merged commit 5620d76 into SuperElastix:main Nov 13, 2026
6 of 8 checks passed
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.

2 participants