From 5e91e4c530c6bc9e03dbf5f18134acfeada7c4f2 Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Mon, 25 Nov 2024 15:57:27 +0100 Subject: [PATCH] build: Add windows-aarch64 to python binaries (#19966) --- .github/workflows/release-python.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 4981710d4773..6006d48d8cd3 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -92,11 +92,13 @@ jobs: fail-fast: false matrix: package: [polars, polars-lts-cpu, polars-u64-idx] - os: [ubuntu-latest, macos-13, windows-32gb-ram] + os: [ubuntu-latest, macos-13, windows-latest, windows-arm64-16gb] architecture: [x86-64, aarch64] exclude: - - os: windows-32gb-ram + - os: windows-latest architecture: aarch64 + - os: windows-arm64-16gb + architecture: x86-64 env: SED_INPLACE: ${{ matrix.os == 'macos-13' && '-i ''''' || '-i'}} @@ -180,7 +182,15 @@ jobs: if: matrix.architecture == 'aarch64' id: target run: | - TARGET=${{ matrix.os == 'macos-13' && 'aarch64-apple-darwin' || 'aarch64-unknown-linux-gnu'}} + TARGET=$( + if [[ "${{ matrix.os }}" == "macos-13" ]]; then + echo "aarch64-apple-darwin"; + elif [[ "${{ matrix.os }}" == "windows-arm64-16gb" ]]; then + echo "aarch64-pc-windows-msvc"; + else + echo "aarch64-unknown-linux-gnu"; + fi + ) echo "target=$TARGET" >> $GITHUB_OUTPUT - name: Set jemalloc for aarch64 Linux