diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2d16eae..fe8451e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -23,16 +23,13 @@ jobs: CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-*" # Skip 32 bit architectures, musllinux, 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: brew install cmake || true + CIBW_BEFORE_BUILD: brew install cmake && pip install twine || true CIBW_TEST_COMMAND: pytest --pyargs gph CIBW_TEST_REQUIRES: pytest hypothesis CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 # Should generate universal2 wheels for CP3.8 -- CP3.11 CIBW_ARCHS_MACOS: x86_64 universal2 - - name: Install twine dependency - run: python -m pip install twine - - name: Publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}