Skip to content

Commit

Permalink
gh-46: build wheels for more platforms (#47)
Browse files Browse the repository at this point in the history
Add macOS builds for `x86_64` and `arm64`, plus a number of Linux
systems.

Closes: #46
  • Loading branch information
ntessore committed Apr 16, 2024
1 parent 48468ac commit 696f0cd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,7 +31,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.runs-on }}
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -45,8 +45,8 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dist-sdist
path: dist
name: cibw-sdist
path: dist/*.tar.gz

upload_pypi:
name: Upload to PyPI
Expand All @@ -58,8 +58,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
pattern: dist-*
merge-multiple: true
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 696f0cd

Please sign in to comment.