Skip to content

Commit

Permalink
build: Add windows-aarch64 to python binaries (#19966)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Nov 25, 2024
1 parent 34f637c commit 5e91e4c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5e91e4c

Please sign in to comment.