Skip to content

Commit

Permalink
build(ci): use proper mac runners
Browse files Browse the repository at this point in the history
GH updated the runner images.

macos-14 is now ARM64.
macos-13 is last x86_64.

Closes apache#831
  • Loading branch information
Michael-J-Ward committed Aug 26, 2024
1 parent b2982ec commit c437868
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ jobs:
name: dist
path: target/wheels/*

build-macos-aarch64:
build-macos-x86_64:
needs: [generate-license]
name: Mac arm64
runs-on: macos-latest
runs-on: macos-13
strategy:
fail-fast: false
matrix:
Expand All @@ -134,9 +134,6 @@ jobs:
with:
toolchain: stable

- name: Set up Rust targets
run: rustup target add aarch64-apple-darwin

- name: Upgrade pip
run: python -m pip install --upgrade pip

Expand All @@ -157,7 +154,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build Python package
run: maturin build --release --strip --target aarch64-apple-darwin --features substrait
run: maturin build --release --strip --features substrait
- name: List Mac wheels
run: find target/wheels/

Expand Down

0 comments on commit c437868

Please sign in to comment.