Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
32 changes: 30 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,45 @@ on:
push:
branches:
- master
pull_request:
release:
types: [published]

jobs:
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Build sdist
run: |
python -m pip install build
python -m build --sdist

- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macOS-latest]
os: [ubuntu-22.04, windows-2022, macos-14]

env:
CIBW_SKIP: pp*
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_LINUX: x86_64 aarch64
# Build only for Python 3.10 since we're using stable ABI
# The resulting abi3 wheels will work for Python 3.10+
CIBW_BUILD: cp310-*

steps:
- uses: actions/checkout@v2
Expand All @@ -40,8 +66,10 @@ jobs:
path: ./wheelhouse/*.whl

upload_pypi:
needs: [build_wheels]
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
# Only upload to PyPI on releases
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ The wrapper was generated with [SWIG](http://www.swig.org/).

Binary wheels are provided via [PyPI](https://pypi.python.org/pypi/rundec) for Linux, macOS, and Windows (built with [GitHub Actions](https://github.com/features/actions)).

The Windows wheels require Python 3.5+, on Linux and macOS Python 2.7+ is sufficient.
Python 3.10+ is supported.
Loading