Skip to content

Commit

Permalink
Create python-cibuildwheel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs authored Jan 6, 2024
1 parent d4101a6 commit ea33cf0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/python-cibuildwheel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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 requirements.txt
with:
package-dir: python

- uses: actions/upload-artifact@v3
with:
path: ./python/wheelhouse/*.whl

0 comments on commit ea33cf0

Please sign in to comment.