Skip to content

Commit

Permalink
build(ci): use proper mac runners (#841)
Browse files Browse the repository at this point in the history
* build(ci): use proper mac runners

GH updated the runner images.

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

Closes #831

* update name for macos x86_64 build job

* update manylinux x86_64 job name for consistency
  • Loading branch information
Michael-J-Ward authored Sep 2, 2024
1 parent 57eb959 commit e8ebc4f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,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
name: Mac x86_64
runs-on: macos-13
strategy:
fail-fast: false
matrix:
Expand All @@ -136,9 +136,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 @@ -159,7 +156,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 All @@ -171,7 +168,7 @@ jobs:

build-manylinux-x86_64:
needs: [generate-license]
name: Manylinux
name: Manylinux x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -262,7 +259,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 e8ebc4f

Please sign in to comment.