Skip to content

Commit

Permalink
Update pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-salles committed Jun 19, 2024
1 parent 1ac3f45 commit 2766118
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Build wheels

on: [push,release,workflow_dispatch]
on: [push,release,pull_request]

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

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.19.1

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
with:
package-dir: .
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"
uses: pypa/cibuildwheel@v2.19.1

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 2766118

Please sign in to comment.