diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 849eab8..c52c755 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -39,7 +39,7 @@ jobs: - 'smal/**' - pygomx-wheel: + pygomx-wheel-mac: needs: - changes - timestamp @@ -49,7 +49,42 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, windows-11-arm, macos-15-intel, macos-latest] + os: [macos-14, macos-15-intel] + + steps: + - uses: actions/checkout@v6 + with: + persist-credentials: false + + - uses: actions/setup-go@v6 + with: + go-version: "1.25" + + - name: build wheel + uses: pypa/cibuildwheel@v3.4.1 + with: + package-dir: pygomx + env: + SOURCE_DATE_EPOCH: ${{ needs.timestamp.outputs.sepoch }} + + - name: upload artifacts + uses: actions/upload-artifact@v7 + with: + name: pygomx-${{ github.sha }}-${{ matrix.os }}-wheel.zip + path: ./wheelhouse/*.whl + + + pygomx-wheel-win: + needs: + - changes + - timestamp + if: ${{ needs.changes.outputs.pygomx == 'true' }} + runs-on: ${{ matrix.os }} + continue-on-error: true + strategy: + fail-fast: false + matrix: + os: [windows-2022, windows-11-arm] steps: - uses: actions/checkout@v6 @@ -75,7 +110,6 @@ jobs: path: ./wheelhouse/*.whl - pygomx-wheel-linux: needs: - changes @@ -117,7 +151,8 @@ jobs: pygomx-pypi: needs: - changes - - pygomx-wheel + - pygomx-wheel-mac + - pygomx-wheel-win - pygomx-wheel-linux if: ${{ needs.changes.outputs.pygomx == 'true' }} runs-on: ubuntu-latest