Skip to content

Commit

Permalink
Support for building wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
mwshinn committed Oct 24, 2024
1 parent 8f7dd1f commit 6c176b9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/buildwheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build wheels

on: workflow_dispatch

jobs:
build_wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-20.04]
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Setup pip
run: |
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install cibuildwheel==2.10.0
- name: Build wheel
run: python -m cibuildwheel --output-dir dist/
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 i686"
CIBW_SKIP: "*-musllinux_*"

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

0 comments on commit 6c176b9

Please sign in to comment.