Skip to content

Update build_wheels.yml #3

Update build_wheels.yml

Update build_wheels.yml #3

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [macos-14]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.1
# env:
# CIBW_SOME_OPTION: value
# ...
with:
package-dir: ./python
output-dir: wheelhouse
config-file: "{package}/setup.py"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl