feat: compile arm64 windows bianry
Description
This MR compiles a windows arm64 binary for glab cli.
The original reason to dig into this is that duo-cli binary that glab downloads currently is tied to the glab compiled binary OS and arch, not the actual system OS and arch.
I've realized there's no windows-arm64 compilation target for glab but it might make sense to have it, because there are already a few windows arm-based machines out there, and it might get more popular after RTX Spark laptops are released.
The implementation is fully AI generated and I lack the knowledge of glab deployment process, so I appreciate a thorough review and points to any missing parts, especially around signing and publishing the binaries.
Related Issues
Resolves #[issue_number]
How has this been tested?
compiled binary
- I've run
GOOS=windows GOARCH=arm64 make buildcommand to build a binary for windws arm64 - Parallels Desktop runs windows 11 arm64 on my mac
- I've copied the executable there and run
glab duo cliforcing it to fetch the duo cli binary. - The downloaded binary is
duo-windows-arm64.exe
| before | after |
|---|---|
installer
- copy install script to the root
cp scripts/setup_windows.iss . - compile an installer using container (podman in my case):
podman run --rm -v "$PWD":/work -w /work amake/innosetup
setup_windows.iss -DVersion=DEV -DArch=arm64 - Copy
bin/glab_DEV_Windows_arm64_installer.exeto parallels and verify installer is working: 
- I've run the
glabexecutable created by installer and verified it also downloads arm64 version of duo cli.


