From 6557a6681816d42cb061810fe9a44af941f49e49 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 4 Jan 2026 23:04:49 -0700 Subject: [PATCH] ci: Use arm64 architecture tag instead of aarch64 for Windows packages --- .github/workflows/build-windows.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index b899d459dc..d927f42af9 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [x86_64, aarch64] + arch: [x86_64, arm64] configuration: [debug, release] env: DOCKER_IMAGE_NAME: ghcr.io/xemu-project/xemu-win64-toolchain:sha-0d06ce8 @@ -36,6 +36,7 @@ jobs: run: docker pull $DOCKER_IMAGE_NAME - name: Compile env: + CROSSPREFIX: ${{ matrix.arch == 'arm64' && 'aarch64' || matrix.arch }}-w64-mingw32.static- BUILD_FLAGS: ${{ matrix.configuration == 'debug' && '--debug' || '' }} run: | mkdir -p /tmp/xemu-ccache @@ -44,8 +45,8 @@ jobs: -v /tmp/xemu-ccache:/tmp/xemu-ccache \ -e CCACHE_DIR=/tmp/xemu-ccache \ -e CCACHE_MAXSIZE=512M \ - -e CROSSPREFIX=${{ matrix.arch }}-w64-mingw32.static- \ - -e CROSSAR=${{ matrix.arch }}-w64-mingw32.static-ar \ + -e CROSSPREFIX=${CROSSPREFIX} \ + -e CROSSAR=${CROSSPREFIX}ar \ -u $(id -u):$(id -g) \ $DOCKER_IMAGE_NAME \ bash -c "ccache -z; ./build.sh -p win64-cross ${BUILD_FLAGS} && ccache -s" @@ -64,7 +65,7 @@ jobs: needs: build strategy: matrix: - arch: [x86_64, aarch64] + arch: [x86_64, arm64] configuration: [debug, release] steps: - name: Download artifacts