Skip to content

Commit 43e8b79

Browse files
asklarCopilot
andcommitted
Fix ARM64 CI: use amd64_arm64 cross-compiler on x64 runner
The ARM64-native clang++.exe cannot run on x64 runners. Use the amd64_arm64 cross-compilation toolset instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 637f19c commit 43e8b79

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
matrix:
1616
include:
1717
- arch: x64
18+
msvc_arch: x64
1819
preset: default
1920
build_dir: build
2021
- arch: arm64
22+
msvc_arch: amd64_arm64
2123
preset: arm64
2224
build_dir: build-arm64
2325

@@ -27,7 +29,7 @@ jobs:
2729
- name: Set up MSVC
2830
uses: ilammy/msvc-dev-cmd@v1
2931
with:
30-
arch: ${{ matrix.arch }}
32+
arch: ${{ matrix.msvc_arch }}
3133

3234
- name: Set up vcpkg
3335
uses: lukka/run-vcpkg@v11

0 commit comments

Comments
 (0)