From 815a3eb68257c48368c4b6999e5eeafd34abc6ba Mon Sep 17 00:00:00 2001 From: jupfi Date: Sat, 20 Apr 2024 12:05:07 +0200 Subject: [PATCH] Build wheels with cibuildwheel --- .github/workflows/python-publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5b32a2e..a94e6da 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -49,6 +49,15 @@ jobs: run: | sudo apt-get install -y libhdf5-dev limesuite liblimesuite-dev automake gcc pkg-config build-essential python-is-python3 + - name: Build wheels with cibuildwheel + uses: pypa/cibuildwheel@v2.3.0 + with: + # Only build wheels for CPython 3.10 for manylinux platforms + build: "cp310-*" + env: + CIBW_BUILD_VERBOSITY: 1 + CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 + - name: Publish to PyPI run: | pip install -U twine build