Skip to content

Commit f066168

Browse files
committed
Merge chore/rp11-drop-macos-intel: drop macOS x86_64 from CPU matrix
2 parents ca4016c + ee33c26 commit f066168

1 file changed

Lines changed: 4 additions & 49 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ name: Release sparrow-engine wheels
99
# - workflow_dispatch (target: testpypi) -> build + publish to TestPyPI.
1010
# - workflow_dispatch (target: build-only) -> build only, no publish.
1111
#
12-
# CPU wheels: 4 platforms (Linux manylinux_2_28 x86_64, macOS arm64, macOS x86_64, Windows x86_64).
12+
# CPU wheels: 3 platforms (Linux manylinux_2_28 x86_64, macOS arm64, Windows x86_64).
13+
# macOS x86_64 (Intel Mac) is NOT in the matrix — no ORT 1.25.1 wheel exists for that
14+
# platform AND the macos-13 GitHub-hosted runner pool has chronic 25+ min queue latency
15+
# that blocks every release. Intel-Mac users build from source per `docs/install.md`.
1316
# GPU wheel: Linux x86_64 inside nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04 container.
1417
#
1518
# GPU PyPI publish is currently gated `if: false`. Phase E (nvjpeg dlopen rewrite)
@@ -172,52 +175,6 @@ jobs:
172175
path: sparrow-engine/target/wheels/sparrow_engine-*.whl
173176
if-no-files-found: error
174177

175-
build-cpu-macos-x86_64:
176-
name: Build CPU wheel (macOS x86_64)
177-
# NOTE (D4 caveat): no `onnxruntime` 1.25.1 wheel exists for macOS x86_64.
178-
# End users on this platform must install onnxruntime via a manual fallback;
179-
# documented in `docs/install.md`. Wheel build still succeeds because
180-
# `ort/load-dynamic` (RP-3) defers ORT resolution to runtime.
181-
runs-on: macos-13
182-
env:
183-
MACOSX_DEPLOYMENT_TARGET: '10.15'
184-
steps:
185-
- uses: actions/checkout@v4
186-
187-
- uses: actions/setup-python@v5
188-
with:
189-
python-version: '3.11'
190-
191-
- name: Build CPU wheel
192-
uses: PyO3/maturin-action@v1
193-
with:
194-
working-directory: sparrow-engine/sparrow-engine-python
195-
command: build
196-
target: x86_64-apple-darwin
197-
args: >-
198-
--release
199-
--auditwheel skip
200-
--no-default-features
201-
--features extension-module
202-
--features cpu
203-
204-
- name: Inspect built wheel
205-
run: |
206-
ls -la sparrow-engine/target/wheels/
207-
for w in sparrow-engine/target/wheels/sparrow_engine-*.whl; do
208-
echo "Wheel: $w"
209-
case "$w" in
210-
*cp311-abi3-macosx_10_15_x86_64*) echo " OK: abi3 + macosx_10_15_x86_64";;
211-
*) echo " FAIL: expected cp311-abi3-macosx_10_15_x86_64 tag (MACOSX_DEPLOYMENT_TARGET=10.15)"; exit 1;;
212-
esac
213-
done
214-
215-
- uses: actions/upload-artifact@v4
216-
with:
217-
name: wheel-cpu-macos-x86_64
218-
path: sparrow-engine/target/wheels/sparrow_engine-*.whl
219-
if-no-files-found: error
220-
221178
build-cpu-windows:
222179
name: Build CPU wheel (Windows x86_64)
223180
runs-on: windows-latest
@@ -332,7 +289,6 @@ jobs:
332289
needs:
333290
- build-cpu-linux
334291
- build-cpu-macos-arm64
335-
- build-cpu-macos-x86_64
336292
- build-cpu-windows
337293
- smoke-cpu-linux
338294
runs-on: ubuntu-latest
@@ -366,7 +322,6 @@ jobs:
366322
needs:
367323
- build-cpu-linux
368324
- build-cpu-macos-arm64
369-
- build-cpu-macos-x86_64
370325
- build-cpu-windows
371326
- smoke-cpu-linux
372327
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)