try build-linux with even older actions

This commit is contained in:
Martin Bubel 2024-07-22 23:34:36 +02:00
parent d3b2c9f351
commit 0e4ecc3363

View file

@ -180,49 +180,47 @@ jobs:
matrix: matrix:
python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312'] python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container: quay.io/pypa/manylinux2014_x86_64
image: quay.io/pypa/manylinux2014_x86_64:2024-01-29-1785b0b
steps: steps:
- name: Checkout - uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Compile c headers - name: Compile c headers
run: | run: |
/opt/python/${{ matrix.python }}/bin/python setup.py develop /opt/python/${{ matrix.python }}/bin/python setup.py develop
- name: Build wheel files - name: Build wheel files
run: | run: |
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel /opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
- name: Install auditwheel - name: Install auditwheel
run: | run: |
/opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel /opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel
- name: Repair wheel files - name: Repair wheel files
run: | run: |
/opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl /opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl
- name: List contents of dist - name: List contents of dist
run: ls -R dist run: ls -R dist
- name: List contests of wheelhouse - name: List contests of wheelhouse
run: ls -R wheelhouse run: ls -R wheelhouse
- name: Move wheelhouse wheel files to dist - name: Move wheelhouse wheel files to dist
run: | run: |
rm dist/* rm dist/*
mv wheelhouse/* dist/ mv wheelhouse/* dist/
rmdir wheelhouse rmdir wheelhouse
- name: List contents of dist - name: List contents of dist
run: ls -R dist run: ls -R dist
- name: Archive build artifacts - name: Archive build artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v1
with: with:
name: dist-artifacts-manylinux-${{ matrix.python }} name: dist-artifacts-manylinux-${{ matrix.python }}
path: dist/* path: dist/*
deploy-test: deploy-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest