git-for-windows / git-for-windows-automation

A few GitHub workflows and support code to help with Git for Windows' day-to-day tasks
10 stars 11 forks source link

Fix `build-and-deploy` on self-hosted ARM64 agents #10

Closed dscho closed 1 year ago

dscho commented 1 year ago

The underlying problem why earlier attempts to deploy mingw-w64-aarch64-git-extra failed (e.g. this one) has nothing to do with ARM64 at all. The problem is that GNU Privacy Guard wants to put a socket into ~/.gnupg/ whose complete path (including NUL byte) has to fit within a mere 108 bytes.

With this proposed work-around, the build succeeded (I specifically only ran the build, not the deploy part just yet, so that we can verify that the build actually worked).

dscho commented 1 year ago

Here are the artifacts for verifying purposes.