mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-25 21:06:23 +02:00
github-actions: update deploy jobs
This commit is contained in:
parent
3f4ac6b83c
commit
52f58e111d
1 changed files with 25 additions and 7 deletions
32
.github/workflows/deploy.yml
vendored
32
.github/workflows/deploy.yml
vendored
|
|
@ -21,21 +21,24 @@ jobs:
|
|||
|
||||
- name: Build c stuff
|
||||
run: |
|
||||
/opt/python/cp39-cp39/bin/python3.9 setup.py develop
|
||||
/opt/python/cp310-cp310/bin/python3.10 setup.py develop
|
||||
/opt/python/cp311-cp311/bin/python3.11 setup.py develop
|
||||
/opt/python/cp39-cp39/bin/python setup.py develop
|
||||
/opt/python/cp310-cp310/bin/python setup.py develop
|
||||
/opt/python/cp311-cp311/bin/python setup.py develop
|
||||
/opt/python/cp312-cp312/bin/python setup.py develop
|
||||
|
||||
- name: Build wheel files
|
||||
run: |
|
||||
/opt/python/cp39-cp39/bin/python3.9 setup.py bdist_wheel
|
||||
/opt/python/cp310-cp310/bin/python3.10 setup.py bdist_wheel
|
||||
/opt/python/cp311-cp311/bin/python3.11 setup.py bdist_wheel
|
||||
/opt/python/cp39-cp39/bin/python setup.py bdist_wheel
|
||||
/opt/python/cp310-cp310/bin/python setup.py bdist_wheel
|
||||
/opt/python/cp311-cp311/bin/python setup.py bdist_wheel
|
||||
/opt/python/cp312-cp312/bin/python setup.py bdist_wheel
|
||||
|
||||
- name: Repair wheel files
|
||||
run: |
|
||||
/opt/python/cp39-cp39/bin/auditwheel repair dist/*cp39-cp39-linux_x86_64.whl
|
||||
/opt/python/cp310-cp310/bin/auditwheel repair dist/*cp310-cp310-linux_x86_64.whl
|
||||
/opt/python/cp311-cp311/bin/auditwheel repair dist/*cp311-cp311-linux_x86_64.whl
|
||||
/opt/python/cp312-cp312/bin/auditwheel repair dist/*cp312-cp312-linux_x86_64.whl
|
||||
|
||||
- name: List contents of dist
|
||||
run: ls -R dist
|
||||
|
|
@ -66,16 +69,31 @@ jobs:
|
|||
pip install --upgrade pip
|
||||
pip install twine
|
||||
|
||||
- name: Download build artifacts
|
||||
- name: Download build artifacts for windows and mac wheels
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: dist
|
||||
merge-multiple: true
|
||||
|
||||
- name: Download build artifacts for manylinux wheels
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: wheelhouse
|
||||
merge-multiple: true
|
||||
|
||||
- name: Inspect dist files
|
||||
run: |
|
||||
ls -R dist
|
||||
|
||||
- name: Inspect wheelhouse files
|
||||
run: |
|
||||
ls -R wheelhouse
|
||||
|
||||
- name: Merge wheel files
|
||||
run: |
|
||||
cp dist/* wheelhouse/
|
||||
ls -R wheelhouse
|
||||
|
||||
- name: Upload to PyPI using twine
|
||||
run: |
|
||||
twine upload --skip-existing wheelhouse/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue