-
-
Notifications
You must be signed in to change notification settings - Fork 11k
CI: Add native ppc64le
CI job using GitHub Actions
#29212
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.
Thanks @sandeepgupta12. Here is a first round of review comments.
run: | | ||
python3 -m pip install -U pip setuptools wheel | ||
python3 -m pip install spin | ||
echo "/home/runner/.local/bin" >> $GITHUB_PATH |
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.
Why is this needed?
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.
used to add ~/.local/bin to the system PATH for subsequent steps in the GitHub Actions workflow, so that installed tools (like spin) can be found and executed.
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.
Ah okay. That should be happening only if pip
can't write to its default location and switches to .local
. The usual solution to that is to use a virtual environment.
Fine to leave this as is until the self-hosted runner is up, so we have a log to look at for the final tweaks.
The PyPy failure can be ignored. |
ppc64le
CI job using GitHub Actions
ppc64le
CI job using GitHub Actionsppc64le
CI job using GitHub Actions
This PR adds a GitHub Actions workflow to run tests on a native ppc64le (Power) runner.
Runs on PRs to main and maintenance/** branches, and via workflow_dispatch
Builds using spin build --clean -- -Dallow-noblas=true
Installs required build/test dependencies
Runs tests using spin test
Outputs Meson build log if available
This helps ensure compatibility and catch issues specific to the ppc64le architecture.
📌 This is the first step in NumPy Issue #29125 to enable native CI support and future wheel builds for the ppc64le architecture.
cc @rgommers for review