Skip to content

Commit

Permalink
Update pypi deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Mueller <[email protected]>
  • Loading branch information
johannes-mueller committed Oct 2, 2024
1 parent 03899f0 commit 77e33c5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pypi-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
release:
types: [published]

push:
branches: [ci-debug]

env:
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
CIBW_BEFORE_BUILD: pip install cython
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
Expand All @@ -27,16 +30,14 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.8'
python-version: '3.12'

- name: Install cibuildwheel
run: |
# python -m pip install cibuildwheel
pip install -U setuptools setuptools_scm wheel
pip install -U setuptools setuptools_scm wheel cibuildwheel
- name: Build wheels
run: |
# python -m cibuildwheel --output-dir wheelhouse
python setup.py bdist_wheel
python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v4
with:
name: artifact-wheel-${{ matrix.os }}
Expand All @@ -54,7 +55,7 @@ jobs:
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.8'
python-version: '3.12'

- name: Install setuptools
run: |
Expand Down

0 comments on commit 77e33c5

Please sign in to comment.