From e942b2b77eac7a02d8c344082be7cc9d516e0cae Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Fri, 12 Jun 2026 10:51:35 +0000 Subject: [PATCH] ci: add Windows ARM64 binary to release workflow Add aarch64-pc-windows-msvc to the build matrix, cross-compiled from the existing x64 Windows runner via the MSVC ARM64 toolchain (no cross tool required). Generalize the .exe suffix condition to cover all windows targets. Closes #82 Co-authored-by: Claude Sonnet 4.6 Signed-off-by: Philippe Martin --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7192fe6..46dc9ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: runner: macos-26 - target: x86_64-pc-windows-msvc runner: windows-2025-vs2026 + - target: aarch64-pc-windows-msvc + runner: windows-2025-vs2026 steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 @@ -123,7 +125,7 @@ jobs: uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: openshell-image-builder-${{ matrix.target }} - path: target/${{ matrix.target }}/release/openshell-image-builder${{ matrix.target == 'x86_64-pc-windows-msvc' && '.exe' || '' }} + path: target/${{ matrix.target }}/release/openshell-image-builder${{ contains(matrix.target, 'windows') && '.exe' || '' }} release: needs: build