Skip to content

[feat] Convert the documentation to Read The Docs template #257

[feat] Convert the documentation to Read The Docs template

[feat] Convert the documentation to Read The Docs template #257

name: Build Python wheels (cibuildwheel)
on: [push, pull_request]
jobs:
build_wheels:
name: ${{ matrix.os }} / ${{ matrix.config }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, macos-14]
config: [pyproject, pyproject-tensorflow]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch release tags from GitHub
# Workaround for https://github.com/actions/checkout/issues/290
run: git fetch --tags --force
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
with:
config-file: ${{ matrix.config }}.toml
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: artifact-${{ matrix.os }}-${{ matrix.config }}