mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-24 20:36:23 +02:00
Merge pull request #1093 from SheffieldML/devel
Fix build and deploy actions
This commit is contained in:
commit
c8a9b5f0ba
1 changed files with 34 additions and 36 deletions
70
.github/workflows/test-and-deploy.yml
vendored
70
.github/workflows/test-and-deploy.yml
vendored
|
|
@ -180,53 +180,51 @@ jobs:
|
|||
matrix:
|
||||
python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: quay.io/pypa/manylinux2014_x86_64
|
||||
container: quay.io/pypa/manylinux2014_x86_64
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python -m pip install setuptools
|
||||
- name: Compile c headers
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python setup.py develop
|
||||
|
||||
- name: Compile c headers
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python setup.py develop
|
||||
- name: Build wheel files
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
|
||||
|
||||
- name: Build wheel files
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
|
||||
- name: Install auditwheel
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel
|
||||
|
||||
- name: Repair wheel files
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl
|
||||
|
||||
- name: Install auditwheel # this should be available?!
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel
|
||||
|
||||
- name: Repair wheel files
|
||||
run: |
|
||||
/opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl
|
||||
- name: List contents of dist
|
||||
run: ls -R dist
|
||||
|
||||
- name: List contents of dist
|
||||
run: ls -R dist
|
||||
- name: List contests of wheelhouse
|
||||
run: ls -R wheelhouse
|
||||
|
||||
- name: List contests of wheelhouse
|
||||
run: ls -R wheelhouse
|
||||
- name: Move wheelhouse wheel files to dist
|
||||
run: |
|
||||
rm dist/*
|
||||
mv wheelhouse/* dist/
|
||||
rmdir wheelhouse
|
||||
|
||||
- name: Move wheelhouse wheel files to dist
|
||||
run: |
|
||||
rm dist/*
|
||||
mv wheelhouse/* dist/
|
||||
rmdir wheelhouse
|
||||
- name: List contents of dist
|
||||
run: ls -R dist
|
||||
|
||||
- name: List contents of dist
|
||||
run: ls -R dist
|
||||
- name: Get the name of the wheel file
|
||||
id: get-wheel-name
|
||||
run: echo "::set-output name=wheel-name::$(ls dist/*.whl)"
|
||||
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: dist-artifacts-manylinux-${{ matrix.python }}
|
||||
path: dist/*
|
||||
- name: Archive build artifacts
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: dist-artifacts-manylinux-${{ matrix.python }}
|
||||
path: ${{ steps.get-wheel-name.outputs.wheel-name }}
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue