From 3cd73f9f5a6b9ac278e6b2a0c6bab6fc1ccfda75 Mon Sep 17 00:00:00 2001 From: Jack Ye Date: Tue, 2 Dec 2025 14:12:51 -0800 Subject: [PATCH] refactor!: deprecate mac x86 support (#2836) We have very low download stats for mac x86, and also latest github runners for mac are all arm, so it makes sense at this point to deprecate x86 support in general. --- .github/workflows/npm-publish.yml | 6 ------ .github/workflows/pypi-publish.yml | 2 -- .github/workflows/python.yml | 11 ++--------- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 41e8a8cf..704544ab 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -97,12 +97,6 @@ jobs: fail-fast: false matrix: settings: - - target: x86_64-apple-darwin - host: macos-latest - features: "," - pre_build: |- - brew install protobuf - rustup target add x86_64-apple-darwin - target: aarch64-apple-darwin host: macos-latest features: fp16kernels diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 131e0aca..4cbc64a3 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -64,8 +64,6 @@ jobs: strategy: matrix: config: - - target: x86_64-apple-darwin - runner: macos-15-large - target: aarch64-apple-darwin runner: warp-macos-14-arm64-6x env: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index cdd5c167..d10fc303 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -143,16 +143,9 @@ jobs: - name: Delete wheels run: rm -rf target/wheels platform: - name: "Mac: ${{ matrix.config.name }}" + name: "Mac" timeout-minutes: 30 - strategy: - matrix: - config: - - name: x86 - runner: macos-15-large - - name: Arm - runner: macos-14 - runs-on: "${{ matrix.config.runner }}" + runs-on: macos-14 defaults: run: shell: bash