-
-
Notifications
You must be signed in to change notification settings - Fork 717
ENH: Test Linux ARM in CI #5137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
7bd8b6d to
d3ac3f3
Compare
hjmjohnson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thewtex The code looks good to me. I rebased it the current upstream/main branch
|
@hjmjohnson thanks, but the workflow is invalid: https://github.com/InsightSoftwareConsortium/ITK/actions/runs/21444681186/workflow And there are also test failures and warnings that need to be addressed. |
b9bb4d6 to
d77f751
Compare
|
Build occurs O.K. but the following tests have failures: I think the CI component is working as expected, but some code changes are needed to build on Linux ARM environments. |
GitHub Actions Linux ARM runners are now available for free for open source projects. https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/
Remove the excessively verbose '-VV' ctest flags that make identifying errors in the online logs very difficult.
Reduce duplication of common testing. Introduce reusable `AddMetaData` and `VerifyMetaData` functions to eliminate redundant metadata handling code in `HDF5ImageIOTest` and `MetaDataDictionaryGTest`. This simplifies test logic and improves maintainability. Provide more failure diagnostics to assist with pin-pointing the failure locations.
This ensures that each dictionary item is printed on a newline.
Make tracking down failures easier to trace
Replace `dynamic_cast` with `static_cast` and explicit type information checks for clearer and more efficient metadata handling.
Simplify and reformat macro usage for improved readability and maintainability, removing unnecessary line breaks and ensuring consistent structure.
f909911 to
daab23b
Compare
|
FYI: I think the crux of the problem lies in how MetaData is handled in ITK for HDF5 image IO. Failure ExposeMetaData 'TestBool'
Failure ExposeMetaData 'TestUChar'
Incorrect meta value read in for TestUChar '
' != 'u' |
GitHub Actions Linux ARM runners are now available for free for open
source projects.
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/