Skip to content

Commit

Permalink
try build-linux with even older actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBubel committed Jul 22, 2024
1 parent d3b2c9f commit 0e4ecc3
Showing 1 changed file with 36 additions and 38 deletions.
74 changes: 36 additions & 38 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,49 +180,47 @@ jobs:
matrix:
python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
runs-on: ubuntu-latest
container:
image: quay.io/pypa/manylinux2014_x86_64:2024-01-29-1785b0b
container: quay.io/pypa/manylinux2014_x86_64

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Compile c headers
run: |
/opt/python/${{ matrix.python }}/bin/python setup.py develop
- uses: actions/checkout@v1

- 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: List contents of dist
run: ls -R dist
- name: Compile c headers
run: |
/opt/python/${{ matrix.python }}/bin/python setup.py develop
- name: List contests of wheelhouse
run: ls -R wheelhouse
- name: Build wheel files
run: |
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
- 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: Archive build artifacts
uses: actions/upload-artifact@v3
with:
name: dist-artifacts-manylinux-${{ matrix.python }}
path: dist/*
- 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: List contents of dist
run: ls -R dist

- 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: List contents of dist
run: ls -R dist

- name: Archive build artifacts
uses: actions/upload-artifact@v1
with:
name: dist-artifacts-manylinux-${{ matrix.python }}
path: dist/*

deploy-test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 0e4ecc3

Please sign in to comment.