Skip to content

Add CI for Windows ARM64 Python wheel#28768

Open
chinazhangchao wants to merge 3 commits into
protocolbuffers:mainfrom
chinazhangchao:chao/winarm64
Open

Add CI for Windows ARM64 Python wheel#28768
chinazhangchao wants to merge 3 commits into
protocolbuffers:mainfrom
chinazhangchao:chao/winarm64

Conversation

@chinazhangchao

Copy link
Copy Markdown

This pull request introduces a new GitHub Actions workflow to build and test Windows ARM64 Python wheels, along with minor portability and compatibility improvements in the C and C++ source code. The workflow automates the process of building source distributions and ARM64 wheels, validating the outputs, and uploading artifacts. Additionally, the code changes improve compiler compatibility and prevent potential build issues.

CI/CD: Windows ARM64 Python Wheel Build and Test

  • Added .github/workflows/build_python_windows_arm64.yml to automate building, testing, and uploading Python wheels for Windows ARM64 using GitHub Actions. The workflow includes source distribution creation, ARM64 wheel building, validation, and artifact upload steps.

Portability and Compatibility Improvements

  • Updated the PyUpb_Message_GetAttr function in python/message.c to conditionally apply the flatten attribute only when using GCC or Clang, improving cross-compiler compatibility.
  • Added a dummy char unused; field to the FreeThreadingMutex struct in python/protobuf.c when ENABLE_MUTEX is not defined, ensuring the struct is always non-empty and preventing potential compilation issues.

@chinazhangchao
chinazhangchao requested a review from a team as a code owner July 23, 2026 07:58
@chinazhangchao
chinazhangchao requested review from ericsalo and removed request for a team July 23, 2026 07:58
@shaod2
shaod2 requested a review from anandolee July 23, 2026 15:08
@shaod2 shaod2 added python 🅰️ safe for tests Mark a commit as safe to run presubmits over labels Jul 23, 2026
@github-actions github-actions Bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants