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

Fix setup-bazel for Windows ARM64 #28

Closed
wants to merge 2 commits into from
Closed

Conversation

p0deje
Copy link
Member

@p0deje p0deje commented Jun 10, 2024

Related to #25

Implements a workaround for using Bazelisk on Windows ARM64 GitHub runners by temporarily using the x64 architecture binary until an ARM64 version becomes available. This change addresses the issue where setup-bazel failed to function correctly on Windows ARM64 due to the absence of a compatible Bazelisk binary.

  • Modifies downloadBazelisk function in index.js to check the platform and architecture. If it's Windows (win32) and ARM64, it sets the architecture to amd64 to download the x64 binary as a temporary workaround.
  • Adds a comment in index.js explaining the temporary workaround for ARM64 on Windows and references the related Bazelisk GitHub issue for context.
  • Updates README.md to include a note for Windows ARM64 users, explaining the temporary use of x64 Bazelisk binary and linking to the Bazelisk issue for more details.

For more details, open the Copilot Workspace session.

@p0deje
Copy link
Member Author

p0deje commented Aug 16, 2024

Closing per #25 (comment)

@p0deje p0deje closed this Aug 16, 2024
@p0deje p0deje deleted the p0deje/fix-windows-arm64 branch August 16, 2024 05:00
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.

1 participant