Skip to content

Commit

Permalink
Update wheels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocao committed May 30, 2024
1 parent fc93380 commit c3a2343
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ jobs:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*"
# Skip 32 bit architectures, musllinux, and i686, and macOS x86_64 wheels for CP3.8 -- CP3.11
CIBW_SKIP: "*-win32 *-musllinux_x86_64 *_i686 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64"
CIBW_BEFORE_BUILD_WINDOWS: pip install twine && pip install -e ".[tests]" && sed -i $'s/\r$//' README.rst && python -m pip install delvewheel
CIBW_BEFORE_BUILD_LINUX: pip install twine && pip install -e ".[tests]"
CIBW_BEFORE_BUILD_MACOS: pip install twine && pip install -e ".[tests]"
CIBW_BEFORE_TEST: ls -a && pytest --pyargs pyflagser
CIBW_BEFORE_BUILD_WINDOWS: sed -i $'s/\r$//' README.rst && python -m pip install delvewheel
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -vv -w {dest_dir} {wheel}"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# Should generate universal2 wheels for CP3.8 -- CP3.11
Expand All @@ -35,11 +32,11 @@ jobs:
- name: Set-up python 3.10 for upload
uses: actions/setup-python@v5
with:
pytho-version: "3.10"
python-version: "3.10"
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Publish
run: |
pip install twine
twine check ./wheelhouse/*.whl
Expand Down

0 comments on commit c3a2343

Please sign in to comment.