Skip to content

Use cibuildwheel

Use cibuildwheel #20

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:
os: [ubuntu-20.04, windows-2019, macos-11]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
CIBW_TEST_REQUIRES: pytest

Check failure on line 18 in .github/workflows/build_wheels.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_wheels.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_BEFORE_ALL: "sh rustup-init.sh -y"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl