Merge pull request #1378 from xaviliz/framebuffer #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-11] | |
config: [pyproject-tensorflow.toml, pyproject.toml] | |
steps: | |
- uses: actions/checkout@v3 | |
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/[email protected] | |
with: | |
config-file: ${{ matrix.config }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl |