Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheels build updates #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
13 changes: 11 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
platform: ['macos-12', 'ubuntu-20.04', 'windows-2022']
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
platform:
- macos-latest
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
35 changes: 19 additions & 16 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
push:
tags:
- 'v[0-9]*'
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -28,6 +29,8 @@ jobs:
architecture: x86
- os: windows
architecture: AMD64
- os: windows
architecture: ARM64
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v2
Expand All @@ -42,7 +45,7 @@ jobs:
with:
architecture: x86
if: runner.os == 'Windows' && matrix.architecture == 'x86'
- run: pipx run cibuildwheel~=2.16.0
- run: pipx run cibuildwheel~=2.21.0
env:
CIBW_SKIP: pp* cp36-* *-musllinux*
CIBW_ARCHS: ${{ matrix.architecture }}
Expand All @@ -63,18 +66,18 @@ jobs:
name: sdist
path: dist/*.tar.gz

upload:
needs:
- wheels
- sdist
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: dist
- run: python -m pip install twine
- run: python -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI }}
# upload:
# needs:
# - wheels
# - sdist
# runs-on: ubuntu-latest
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# path: dist
# - run: python -m pip install twine
# - run: python -m twine upload dist/*
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI }}
Loading