split windows and mac build apart

This commit is contained in:
saces 2026-04-05 08:12:04 +02:00
parent e26c4a5566
commit a01a264585

View file

@ -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