Skip to content

Commit

Permalink
adding arm on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavsuku-db committed Jul 30, 2024
1 parent 31e4885 commit 68b9c21
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8]
arch: [x86_64, arm64]
arch: [x86_64, arm64, aarch64]
include:
- os: macos-latest
arch: x86_64
- os: macos-latest
arch: arm64
- os: ubuntu-latest
arch: x86_64
- os: ubuntu-latest
arch: aarch64
- os: windows-latest
arch: x86_64

Expand Down Expand Up @@ -67,13 +69,21 @@ jobs:
maturin build --release
shell: powershell

- name: Build wheel (Linux)
if: matrix.os == 'ubuntu-latest'
- name: Build wheel (x86_64 Linux)
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'x86_64'
run: |
cd python/delta-kernel-python
maturin build --release
shell: bash

- name: Build wheel (aarch64 Linux)
if: matrix.os == 'ubuntu-latest' && matrix.arch == 'aarch64'
run: |
rustup target add aarch64-unknown-linux-gnu
cd python/delta-kernel-python
maturin build --release --target aarch64-unknown-linux-gnu
shell: bash

- name: Upload wheels
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 68b9c21

Please sign in to comment.