Skip to content
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

Add support for Windows on ARM #713

Merged
merged 3 commits into from
Dec 19, 2024
Merged

Add support for Windows on ARM #713

merged 3 commits into from
Dec 19, 2024

Conversation

mjcheetham
Copy link
Member

@mjcheetham mjcheetham commented Dec 10, 2024

Bring support for Windows on ARM64 to this fork of Git. We make use of a custom 1ES hosted pool (hosted in Azure) that runs Windows 11 ARM64 on a B4pls v2 sized VM SKU. The image has the latest Git for Windows ARM64 installed, the GitHub Actions runner, along with PowerShell Core (required for the GitHub Actions runner).

Requests with the ['self-hosted', '1ES.Pool=github-arm64-pool'] labels will be directed to the 1ES hosted pool.

A few changes were made to the build-git-installers.yml workflow, mainly to parameterise the architecture to allow for x86_64 and aarch64 builds, via a matrix strategy.

Find the end-to-end successful build of build-git-installers.yml here.

Add support for building Microsoft Git on Windows/ARM64.
We use a custom 1ES pool that we maintain to provide ARM64 GitHub
runners that have the latest Git for Windows ARM64 installed.

Signed-off-by: Matthew John Cheetham <[email protected]>
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!

@mjcheetham mjcheetham merged commit cc32a56 into vfs-2.47.1 Dec 19, 2024
143 of 151 checks passed
@mjcheetham mjcheetham deleted the mjcheetham/armtest branch December 19, 2024 11:33
dscho pushed a commit that referenced this pull request Dec 19, 2024
Bring support for Windows on ARM64 to this fork of Git. We make use of a
custom 1ES hosted pool (hosted in Azure) that runs Windows 11 ARM64 on a
`B4pls v2` sized VM SKU. The image has the latest Git for Windows ARM64
installed, the GitHub Actions runner, along with PowerShell Core
(required for the GitHub Actions runner).

Requests with the `['self-hosted', '1ES.Pool=github-arm64-pool']` labels
will be directed to the 1ES hosted pool.

A few changes were made to the `build-git-installers.yml` workflow,
mainly to parameterise the architecture to allow for x86_64 and aarch64
builds, via a matrix strategy.

Find the end-to-end successful build of `build-git-installers.yml`
[here](https://github.com/microsoft/git/actions/runs/12358457268).
dscho added a commit to git-for-windows/git that referenced this pull request Dec 19, 2024
This is no longer needed, as Git for Windows' regular release process
(as well as regular CI builds) now support the clang-aarch64 parts out
of the box.

I noticed that this is still part of Git for Windows' branch thicket
when reviewing microsoft#713
dscho pushed a commit that referenced this pull request Dec 19, 2024
Bring support for Windows on ARM64 to this fork of Git. We make use of a
custom 1ES hosted pool (hosted in Azure) that runs Windows 11 ARM64 on a
`B4pls v2` sized VM SKU. The image has the latest Git for Windows ARM64
installed, the GitHub Actions runner, along with PowerShell Core
(required for the GitHub Actions runner).

Requests with the `['self-hosted', '1ES.Pool=github-arm64-pool']` labels
will be directed to the 1ES hosted pool.

A few changes were made to the `build-git-installers.yml` workflow,
mainly to parameterise the architecture to allow for x86_64 and aarch64
builds, via a matrix strategy.

Find the end-to-end successful build of `build-git-installers.yml`
[here](https://github.com/microsoft/git/actions/runs/12358457268).
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.

2 participants