-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add Windows arm tests #5932
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: master
Are you sure you want to change the base?
Add Windows arm tests #5932
Conversation
Rename the Windows ARM clang jobs to windows_arm_clang_msvc and windows_arm_clang_msys2 and adjust their display names to clang-msvc / clang-msys2. The first runs clang against the MSVC/Windows SDK toolchain and python.org CPython for Windows ARM, while the second runs clang inside the MSYS2/MinGW-w64 CLANGARM64 environment with MSYS2 Python. Using clearly distinguished job names makes it easier to discuss failures and behavior in each environment without ambiguity, both in logs and in PR review discussions.
Limit the windows_arm_clang_msvc job to Python 3.13 and the windows_arm_clang_msys2 job to Python 3.12 to stay within our constrained GitHub Actions resources. Keep both jobs using a matrix over os and python so their structure stays aligned and it remains easy to expand coverage when needed.
|
I worked on this PR with the help of Cursor. Initially I wasn't clear about the nature of the differences between the two new jobs. After adding two commits, I asked Cursor for it's opinion, this came back (and I agree): This looks merge-ready to me.
@K20shores could you please review the two commits I added (I also merged master)?
@baburton could you please confirm that your original issue is resolved already on master (or 3.0.1)? |
Description
In response to the conversation about #5883 in #5919, I'm adding tests for Windows ARM runners, both with and without Mingw. This uses the
windows-arm-11runner.Fortunately, I didn't see the same build error reported in #5883. These are still good tests to add, though. In my testing, the issue was present in pybind11 3.0.0, but it was fixed when updating to 3.0.1. It appears that #5757 includes a fix that already addresses #5883.
For mingw under windows arm with clang, I've had to update the visibility tests. I believe it's scoped appropriately, but I may be wrong.
Suggested changelog entry:
📚 Documentation preview 📚: https://pybind11--5932.org.readthedocs.build/