detection #147
Workflow file for this run
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: Wheels | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: "macOS x86_64" | |
os: macos-latest | |
archs: x86_64 | |
- name: "macOS arm64" | |
os: macos-latest | |
archs: arm64 | |
- name: "Linux manylinux2014 and musllinux" | |
os: ubuntu-latest | |
archs: x86_64 | |
- name: "Linux manylinux_2_28" | |
os: ubuntu-latest | |
archs: x86_64 | |
build: "*manylinux*" | |
manylinux: "manylinux_2_28" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Build wheels | |
run: | | |
python3 -m pip install cibuildwheel | |
python3 -m cibuildwheel --output-dir wheelhouse | |
env: | |
CIBW_ARCHS: ${{ matrix.archs }} | |
CIBW_BUILD: ${{ matrix.build }} | |
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux }} | |
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ${{ matrix.manylinux }} | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl |