Skip to content

Comments

Fix ARM64 cross-compilation in release workflow#23

Merged
supervoidcoder merged 5 commits intomainfrom
copilot/fix-ci-for-arm64
Jan 19, 2026
Merged

Fix ARM64 cross-compilation in release workflow#23
supervoidcoder merged 5 commits intomainfrom
copilot/fix-ci-for-arm64

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

The release build was failing on ARM64 because vcvarsall.bat arm64 requires a native ARM64 host, but GitHub Actions runners are x64.

Changes

  • Map matrix architectures to proper vcvarsall.bat cross-compilation syntax:
    • x86x64_x86
    • arm64x64_arm64
    • x64x64 (unchanged)
- call "%VS_PATH%\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }}
+ set "TARGET_ARCH=${{ matrix.arch }}"
+ set "VCVARS_ARCH=%TARGET_ARCH%"
+ if "%TARGET_ARCH%"=="x86" set "VCVARS_ARCH=x64_x86"
+ if "%TARGET_ARCH%"=="arm64" set "VCVARS_ARCH=x64_arm64"
+ call "%VS_PATH%\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_ARCH%
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

Code
Issues 3
Pull requests
Actions
Projects
Wiki
Security 2
Insights
Settings

Release Build
Revert "Revert "Revert "Revert "Revert "Revert "fix: nothing"""""" #10

All jobs
Run details

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

  • [new ref] a07e20c -> origin/main
    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 compile

8s
Run 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.

@supervoidcoder @coderabbitai that didn't do anything, and that was just a newline bro

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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 19, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI and others added 3 commits January 19, 2026 19:12
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
Copilot AI requested a review from supervoidcoder January 19, 2026 19:17
@supervoidcoder supervoidcoder marked this pull request as ready for review January 19, 2026 19:20
@supervoidcoder supervoidcoder merged commit 0613e1e into main Jan 19, 2026
3 of 4 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.

stupid ci dont worok with arm64

2 participants