mirror of
https://github.com/nqrduck/LimeDriverBindings.git
synced 2024-11-05 18:20:03 +00:00
Updated to cibuildwheel.
This commit is contained in:
parent
815a3eb682
commit
620b5809ee
1 changed files with 2 additions and 11 deletions
13
.github/workflows/python-publish.yml
vendored
13
.github/workflows/python-publish.yml
vendored
|
@ -49,19 +49,10 @@ 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
|
||||
python -m build .
|
||||
pip install -U twine cibuildwheel
|
||||
python -m cibuildwheel .
|
||||
python -m twine upload --repository pypi --username __token__ --password ${{ secrets.PYPI }} dist/*
|
||||
env:
|
||||
PYPI: ${{ secrets.PYPI }}
|
||||
|
|
Loading…
Reference in a new issue