Skip to content

Create python-cibuildwheel.yml #4

Create python-cibuildwheel.yml

Create python-cibuildwheel.yml #4

name: Python cibuildwheel
on:
push:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: 'cp37-*'
CIBW_MANYLINUX_X86_64_IMAGE: 'keyvidev/manylinux-builder-x86_64'
CIBW_MANYLINUX_AARCH64_IMAGE: 'keyvidev/manylinux-builder-aarch64'
CIBW_BEFORE_BUILD: pip install -r python/requirements.txt
with:
package-dir: python
- uses: actions/upload-artifact@v3
with:
path: ./python/wheelhouse/*.whl