Skip to content

Add CI build for windows/ARM64 #3190

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

Merged
merged 1 commit into from
Aug 14, 2025
Merged

Conversation

alcroito
Copy link
Contributor

Tests and other steps that execute the binary are skipped, because the project is built on an x86_64 Windows host machine and thus can't run arm64 instructions.

Fixes: #2644

@alcroito
Copy link
Contributor Author

I used #2691 as a base, and modified the CI yaml to skip running the tests, as previously suggested at #2691 (comment)

In the near future we might be able to build on arm windows CI runners directly as per

https://github.com/orgs/community/discussions/19197#discussioncomment-11946571

@jcotton42
Copy link

@jcotton42
Copy link

@alcroito the dtolnay/rust-toolchain action used by this repo has been updated to work on Windows ARM. The changes from there should be pretty minimal, I just did it for ripgrep https://github.com/BurntSushi/ripgrep/pull/3038/files

@Enselic
Copy link
Collaborator

Enselic commented Aug 14, 2025

this looks good code-wise, can this be rebased to resolve conflicts please? thanks

@alcroito
Copy link
Contributor Author

Fixed the MR to use native arm runners for the build.

Copy link
Collaborator

@Enselic Enselic left a comment

Choose a reason for hiding this comment

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

looks good, thanks!

@Enselic Enselic merged commit d9ac757 into sharkdp:master Aug 14, 2025
24 checks passed
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.

Windows ARM64 Build
3 participants