Skip to content

Commit

Permalink
Build Python 3.13 wheels with disabled GIL
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed May 21, 2024
1 parent 8eabb42 commit c20b3e2
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ 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_SKIP: *t-win*
CIBW_TEST_COMMAND: python -m unittest regex.test_regex

jobs:
Expand Down Expand Up @@ -159,22 +161,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

0 comments on commit c20b3e2

Please sign in to comment.