Fix ARM64 cross-compilation in release workflow#23
Merged
supervoidcoder merged 5 commits intomainfrom Jan 19, 2026
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI issues with arm64 architecture
Fix ARM64 cross-compilation in release workflow
Jan 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The release build was failing on ARM64 because
vcvarsall.bat arm64requires a native ARM64 host, but GitHub Actions runners are x64.Changes
x86→x64_x86arm64→x64_arm64x64→x64(unchanged)Original prompt
This section details on the original issue you should resolve
<issue_title>stupid ci dont worok with arm64</issue_title>
<issue_description></issue_description>
<agent_instructions>
Skip to content
Navigation Menu
supervoidcoder
win-witr
Release Build
Revert "Revert "Revert "Revert "Revert "Revert "fix: nothing"""""" #10
Build matrix for multiple Windows architectures (arm64)
failed now in 22s
0s
5s
Run actions/checkout@v4
Syncing repository: supervoidcoder/win-witr
Getting Git version info
Temporarily overriding HOME='D:\a_temp\b26e7e4d-44f4-4bc1-af4b-8160652bfacf' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\win-witr\win-witr
Deleting the contents of 'D:\a\win-witr\win-witr'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp core.sshCommand
"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :""
"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp http.https://github.com/.extraheader
"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :""
"C:\Program Files\Git\bin\git.exe" config --local --name-only --get-regexp ^includeIf.gitdir:
"C:\Program Files\Git\bin\git.exe" submodule foreach --recursive "git config --local --show-origin --name-only --get-regexp remote.origin.url"
"C:\Program Files\Git\bin\git.exe" config --local http.https://github.com/.extraheader "AUTHORIZATION: basic ***"
Fetching the repository
"C:\Program Files\Git\bin\git.exe" -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +a07e20c6f4cfbc9253e57dd319a98f1581c34231:refs/remotes/origin/main
From https://github.com/supervoidcoder/win-witr
Determining the checkout info
"C:\Program Files\Git\bin\git.exe" sparse-checkout disable
"C:\Program Files\Git\bin\git.exe" config --local --unset-all extensions.worktreeConfig
Checking out the ref
"C:\Program Files\Git\bin\git.exe" checkout --progress --force -B main refs/remotes/origin/main
branch 'main' set up to track 'origin/main'.
Switched to a new branch 'main'
"C:\Program Files\Git\bin\git.exe" log -1 --format=%H
a07e20c
12s
0s
3s
0s
</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@supervoidcoder @coderabbitai hey i dont speak yml so pls help @supervoidcoder @coderabbitai no it fails to compile8s
@supervoidcoder @coderabbitai that didn't do anything, and that was just a newline broRun ilammy/msvc-dev-cmd@v1
Found with vswhere: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Environment variables
Configured Developer Command Prompt
1s
Run $outName = "win-witr-arm64.exe"
cl: D:\a_temp\d66622be-69db-49bb-8595-8898bd72bf44.ps1:3
Line |
3 | cl /O2 /Ot /GL /std:c++20 /EHsc main.cpp /DUNICODE /D_UNICODE /Fe:$ou …
| ~~
| The term 'cl' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the
| spelling of the name, or if a path was included, verify that the path is correct and try again.
Error: Process completed with exit code 1.
2026-01-19T18:51:32.5302755Z Current runner version: '2.331.0'
2026-01-19T18:51:32.5327542Z ##[group]Runner Image Provisioner
2026-01-19T18:51:32.5328737Z Hosted Compute Agent
2026-01-19T18:51:32.5329264Z Version: 20251211.462
2026-01-19T18:51:32.5329889Z Commit: 6cbad8c2bb55d58165063d031ccabf57e2d2db61
2026-01-19T18:51:32.5330509Z Build Date: 2025-12-11T16:28:49Z
2026-01-19T18:51:32.5331188Z Worker ID: {d5bc79c1-0906-4e5d-a54e-2cc35ef0e841}
2026-01-19T18:51:32.5331810Z ##[endgroup]
2026-01-19T18:51:32.5332243Z ##[group]Operating System
2026-01-19T18:51:32.5332818Z Microsoft Windows Server 2025
2026-01-19T18:51:32.5333305Z 10.0.26100
2026-01-19T18:51:32.5333726Z Datacenter
2026-01-19T18:51:32.5334137Z ##[endgroup]
2026-01-19T18:51:32.5334573Z ##[group]Runner Image
2026-01-19T18:51:32.5335016Z Image: windows-2025
2026-01-19T18:51:32.5335500Z Version: 20260111.179.1
2026-01-19T18:51:32.5336801Z Included Software: https://github.com/actions/runn...
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.