-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
build: Add windows-aarch64 to python binaries #19966
Conversation
architecture: [x86-64, aarch64] | ||
exclude: | ||
- os: windows-32gb-ram | ||
- os: windows-latest |
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.
Public windows runners now have 16GB RAM. Seems enough.
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.
Looks good - you can do a dry-run (build the packages, but do not upload to PyPI) if you want to be sure!
matrix: | ||
package: [polars, polars-lts-cpu, polars-u64-idx] | ||
os: [ubuntu-latest, macos-13, windows-32gb-ram] | ||
os: [ubuntu-latest, macos-13, windows-latest, windows-arm64-16gb] | ||
architecture: [x86-64, aarch64] | ||
exclude: | ||
- os: windows-32gb-ram | ||
- os: windows-latest | ||
architecture: aarch64 | ||
- os: windows-arm64-16gb | ||
architecture: x86-64 |
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.
The following matrix is equivalent but a bit more readable (using include
rather than exclude
):
matrix:
package: [polars, polars-lts-cpu, polars-u64-idx]
os: [ubuntu-latest, macos-13]
architecture: [x86-64, aarch64]
include:
- os: windows-latest
architecture: x86-64
- os: windows-arm64-16gb
architecture: aarch64
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.
Don't we need to include all variants then? (E.g. is the exclude set not smaller than the include set?)
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.
I think it's correct... Not 100% sure (should test it out...). The docs are here:
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#expanding-or-adding-matrix-configurations
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.
Right, I think you're right. I also do need to think harder with the include set. 😆
I will take it for a spin. 😎 |
This reverts commit 5e91e4c.
No description provided.