Skip to content

Commit e8ebc4f

Browse files
build(ci): use proper mac runners (#841)
* 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
1 parent 57eb959 commit e8ebc4f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ jobs:
117117
name: dist-${{ matrix.os }}
118118
path: target/wheels/*
119119

120-
build-macos-aarch64:
120+
build-macos-x86_64:
121121
needs: [generate-license]
122-
name: Mac arm64
123-
runs-on: macos-latest
122+
name: Mac x86_64
123+
runs-on: macos-13
124124
strategy:
125125
fail-fast: false
126126
matrix:
@@ -136,9 +136,6 @@ jobs:
136136
with:
137137
toolchain: stable
138138

139-
- name: Set up Rust targets
140-
run: rustup target add aarch64-apple-darwin
141-
142139
- name: Upgrade pip
143140
run: python -m pip install --upgrade pip
144141

@@ -159,7 +156,7 @@ jobs:
159156
repo-token: ${{ secrets.GITHUB_TOKEN }}
160157

161158
- name: Build Python package
162-
run: maturin build --release --strip --target aarch64-apple-darwin --features substrait
159+
run: maturin build --release --strip --features substrait
163160
- name: List Mac wheels
164161
run: find target/wheels/
165162

@@ -171,7 +168,7 @@ jobs:
171168

172169
build-manylinux-x86_64:
173170
needs: [generate-license]
174-
name: Manylinux
171+
name: Manylinux x86_64
175172
runs-on: ubuntu-latest
176173
steps:
177174
- uses: actions/checkout@v4
@@ -262,7 +259,7 @@ jobs:
262259
runs-on: ubuntu-latest
263260
needs:
264261
- build-python-mac-win
265-
- build-macos-aarch64
262+
- build-macos-x86_64
266263
- build-manylinux-x86_64
267264
- build-manylinux-aarch64
268265
- build-sdist

0 commit comments

Comments
 (0)