Skip to content

Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.1 (#212) #624

Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.1 (#212)

Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.1 (#212) #624

Workflow file for this run

name: Build with cibuildwheel
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
pull_request_target:
types:
- closed
jobs:
build_wheels_cibuildwheel:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
# Used to host cibuildwheel
- uses: actions/[email protected]
with:
python-version: 3.12
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.20.0
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
make_sdist:
name: Make SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build SDist
run: pipx run build --sdist
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz