From 3b412e1ac8b4e4effc0cee39baad2e540179622d Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Wed, 15 Oct 2025 17:44:51 -0700 Subject: [PATCH 1/2] split windows and mac build --- .github/workflows/build.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1663ce3c5..a436cfc462 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,15 +105,14 @@ jobs: name: python-wheel-license path: LICENSE.txt - build-python-mac-win: + build-windows: needs: [generate-license] - name: Mac/Win - runs-on: ${{ matrix.os }} + name: Windows + runs-on: windows-latest strategy: fail-fast: false matrix: python-version: ["3.10"] - os: [macos-latest, windows-latest] steps: - uses: actions/checkout@v5 @@ -147,25 +146,20 @@ jobs: uv run --no-project maturin build --release --strip - name: List Windows wheels - if: matrix.os == 'windows-latest' run: dir python\target\wheels\ # since the runner is dynamic shellcheck (from actionlint) can't infer this is powershell # so we specify it explicitly shell: powershell - - name: List Mac wheels - if: matrix.os != 'windows-latest' - run: find python/target/wheels/ - - name: Archive wheels uses: actions/upload-artifact@v4 with: - name: dist-${{ matrix.os }} + name: dist-windows path: python/target/wheels/* - build-macos-x86_64: + build-macos-arm64: needs: [generate-license] - name: Mac x86_64 + name: Mac arm64 runs-on: macos-latest strategy: fail-fast: false @@ -209,7 +203,7 @@ jobs: - name: Archive wheels uses: actions/upload-artifact@v4 with: - name: dist-macos-aarch64 + name: dist-macos-arm64 path: python/target/wheels/* build-manylinux-x86_64: @@ -339,8 +333,8 @@ jobs: merge-build-artifacts: runs-on: ubuntu-latest needs: - - build-python-mac-win - - build-macos-x86_64 + - build-windows + - build-macos-arm64 - build-manylinux-x86_64 - build-manylinux-aarch64 - build-sdist From 63ed1bc559890ecc11bbabaeaec0c6bc73608784 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Wed, 15 Oct 2025 17:48:54 -0700 Subject: [PATCH 2/2] windows-x86_64 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a436cfc462..124a85496b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -107,7 +107,7 @@ jobs: build-windows: needs: [generate-license] - name: Windows + name: Windows x86_64 runs-on: windows-latest strategy: fail-fast: false @@ -154,7 +154,7 @@ jobs: - name: Archive wheels uses: actions/upload-artifact@v4 with: - name: dist-windows + name: dist-windows-x86_64 path: python/target/wheels/* build-macos-arm64: