name: Build on: [push, pull_request] jobs: build_wheels: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: # macos-15-intel is an Intel runner, macos-14 is Apple silicon os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-11-arm, macos-15-intel, macos-14] steps: - uses: actions/checkout@v6 with: persist-credentials: false - name: Build wheels uses: pypa/cibuildwheel@v4.1.1 # env: # CIBW_SOME_OPTION: value # ... # with: # package-dir: . # output-dir: wheelhouse # config-file: "{package}/pyproject.toml" - uses: actions/upload-artifact@v4 with: name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl