ci: add multi-architecture test matrix with IBM Python action #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Update CI workflow to test across multiple architectures (x64, ppc64le, s390x) using IBM's Python setup action.
Changes
Matrix Strategy: Added matrix configuration to run tests on three architectures:
ubuntu-24.04(x64) - GitHub-hosted runnerubuntu-24.04-ppc64le- Self-hosted runnerubuntu-24.04-s390x- Self-hosted runnerSetup Action: Switched from
actions/setup-python@v5toIBM/setup-python-pz@mainwith architecture parameter for proper cross-architecture supportConfig: Added
.github/actionlint.yamlto define custom self-hosted runner labels for workflow validationWhy
Testing across multiple architectures ensures Python builds work consistently on different platforms supported by this project. The custom IBM action provides better compatibility for ppc64le and s390x architectures.
Testing
fail-fast: falseensures complete test results across all platformsFiles Changed
.github/workflows/tests.yml- Matrix strategy and action updates.github/actionlint.yaml- Custom runner label configuration