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 22c70ef commit 4893fe6
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ jobs:
name: dist-${{ matrix.os }}
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 Expand Up @@ -260,7 +257,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build-python-mac-win
- build-macos-aarch64
- build-macos-x86_64
- build-manylinux-x86_64
- build-manylinux-aarch64
- build-sdist
Expand Down

0 comments on commit 4893fe6

Please sign in to comment.