Skip to content

Commit

Permalink
Try this approach, really
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Sep 4, 2024
1 parent 188a579 commit 1bc1c64
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Wheels

on: [push, pull_request]

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-12, macos-14, windows-2019]

steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v2.19.2
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-manylinux_i686 *musllinux* pp*"
CIBW_BEFORE_BUILD: >
pip install cython
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair --strip -w {dest_dir} {wheel}
CIBW_TEST_COMMAND: python -m cypari.test


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

0 comments on commit 1bc1c64

Please sign in to comment.