Skip to content

Conversation

@dscho
Copy link
Member

@dscho dscho commented Jan 15, 2026

The detection relies on the presence of a directory I thought would not ever go away: /usr/i686-pc-msys/.

As of git-for-windows/git-sdk-32@76fc2e9682 (Update 88 packages, 2026-01-12), however, this is no longer true. This directory was superseded by the /usr/i686-pc-cygwin/ directory, in an ongoing (and back-reaching to i686, apparently) effort to make MSYS2 maintenance easier by aligning it even more with Cygwin.

This led to a problem in the git-artifacts workflow of the git-sdk-32 repository, as it uses the architecture aut-detection logic: https://github.com/git-for-windows/git-sdk-32/actions/runs/21019330747/job/60468238414#step:5:111

The same is not true for the actual git-artifacts workflow in the git-for-windows-automation repository, which always initializes the build-installers artifact of the Git for Windows SDK specifying the architecture explicitly. See e.g.
https://github.com/git-for-windows/git-for-windows-automation/actions/ru ns/21031008777/job/60466832552#step:11:99

Nevertheless, the auto-detection is now broken, and the auto-detection needs to be fixed, so do that.

The detection relies on the presence of a directory I thought would not
ever go away: /usr/i686-pc-msys/.

As of git-for-windows/git-sdk-32@76fc2e9682
(Update 88 packages, 2026-01-12), however, this is no longer true. This
directory was superseded by the `/usr/i686-pc-cygwin/` directory, in
an ongoing (and back-reaching to i686, apparently) effort to make MSYS2
maintenance easier by aligning it even more with Cygwin.

This led to a problem in the git-artifacts workflow of the git-sdk-32
repository, as it uses the architecture aut-detection logic:
https://github.com/git-for-windows/git-sdk-32/actions/runs/21019330747/job/60468238414#step:5:111

The same is not true for the _actual_ `git-artifacts` workflow in the
`git-for-windows-automation` repository, which always initializes the
`build-installers` artifact of the Git for Windows SDK specifying the
architecture explicitly. See e.g.
https://github.com/git-for-windows/git-for-windows-automation/actions/ru
ns/21031008777/job/60466832552#step:11:99

Nevertheless, the auto-detection is now broken, and the auto-detection
needs to be fixed, so do that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested review from mjcheetham and rimrul January 15, 2026 13:00
@dscho dscho self-assigned this Jan 15, 2026
@dscho dscho merged commit 431d6bf into main Jan 15, 2026
17 checks passed
@dscho dscho deleted the fix-i686-build-installers-artifact branch January 15, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants