feat: install win32-x64 binary on win32-arm64 platform #31784
+12
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional details
Attempting to install Cypress on a Windows
arm64
system (aka WoA - Windows on Arm) causes Cypress to abort the installation and output the error message:Cypress does not build a binary for the Microsoft Windows
arm64
architecture (win32-arm64
), however Windows Arm-based PCs offers emulation forwin32-x64
apps. The availablex64
emulation functionality of Windows has so far not been used by Cypress.To enable installation of the Cypress
win32-x64
binary on Windowsarm64
systems, opening up the possibility for Windows on Arm to provide its emulation capabilities to Cypress, two changes are made:arm64
is detected, then the download is changed to use the Cypress Windowsx64
binary (win32-x64
) instead.win32-arm64
.Steps to test
Previously tested as a patch in https://github.com/MikeMcC399/cypress-example-kitchensink/tree/use/windows-11-arm using workflow .github/workflows/chrome.yml.
Testable in branch
windows-11-arm-beta
using workflow .github/workflows/chrome.yml as soon as a beta binary build is available... both using Windows 11 arm image (
windows-11-arm
) currently in public preview.CircleCI does not currently offer a Windows arm platform for CI testing.
How has the user experience changed?
With this PR, users of Arm-based Windows PCs can install and run Cypress in the same way they would on an amd64-based Windows PC.
PR Tasks
cypress-documentation
? Add Windows 11 24H2 arm64 support cypress-documentation#6193type definitions
?