Trying to deal with Python 3.12 wrinkle #65
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: Linux with 3.11-3.13 | |
on: [push, pull_request] | |
jobs: | |
build_wheels: | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build wheels | |
uses: pypa/cibuildwheel@v2.19.2 | |
env: | |
CIBW_BUILD: cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 | |
CIBW_BEFORE_ALL_LINUX: > | |
yum install -y gmp-devel zlib-devel bzip2-devel && | |
python setup.py package_assemble | |
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair -w {dest_dir} {wheel} | |
CIBW_TEST_COMMAND: python -m regina.test | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ./wheelhouse/*.whl |