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

Build Python 3.13 wheels with disabled GIL #531

Closed
wants to merge 1 commit into from
Closed
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
47 changes: 25 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ name: cibuildwheel
# Build on every branch push with tag.
on:
push:
tags:
- '*'
# tags:
# - '*'

env:
PYTHON_VER: '3.10' # Python to run test/cibuildwheel
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp313t-*
CIBW_FREE_THREADED_SUPPORT: 1
CIBW_PRERELEASE_PYTHONS: 1
CIBW_SKIP: '*t-win*'
CIBW_TEST_COMMAND: python -m unittest regex.test_regex

jobs:
Expand Down Expand Up @@ -159,22 +162,22 @@ jobs:
path: wheelhouse/*.whl

# Upload to PyPI
upload_pypi:
name: Publish to PyPI
needs: [build_wheels, build_in_manylinux2010, build_arch_wheels]
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
with:
name: regex-files
path: dist

- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true
verbose: true
print_hash: true
# upload_pypi:
# name: Publish to PyPI
# needs: [build_wheels, build_in_manylinux2010, build_arch_wheels]
# runs-on: ubuntu-latest

# steps:
# - uses: actions/download-artifact@v3
# with:
# name: regex-files
# path: dist

# - name: Upload to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.PYPI_TOKEN }}
# skip_existing: true
# verbose: true
# print_hash: true