Migrate to PEP 621 #26
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 | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
strategy: | |
matrix: | |
platform: | |
- Linux | |
- macOS | |
- Windows | |
include: | |
- platform: Linux | |
os: ubuntu-latest | |
- platform: macOS | |
os: macos-latest | |
- platform: Windows | |
os: windows-latest | |
name: Build on ${{ matrix.platform }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Build | |
uses: pypa/cibuildwheel@v2.16.2 | |
env: | |
CIBW_SKIP: pp* *musllinux* | |
CIBW_ARCHS_MACOS: x86_64 universal2 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: wheelhouse |