Skip to content

Commit 0e4ecc3

Browse files
committed
try build-linux with even older actions
1 parent d3b2c9f commit 0e4ecc3

File tree

1 file changed

+36
-38
lines changed

1 file changed

+36
-38
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -180,49 +180,47 @@ jobs:
180180
matrix:
181181
python: ['cp39-cp39', 'cp310-cp310', 'cp311-cp311', 'cp312-cp312']
182182
runs-on: ubuntu-latest
183-
container:
184-
image: quay.io/pypa/manylinux2014_x86_64:2024-01-29-1785b0b
183+
container: quay.io/pypa/manylinux2014_x86_64
185184

186185
steps:
187-
- name: Checkout
188-
uses: actions/checkout@v3
189-
190-
- name: Compile c headers
191-
run: |
192-
/opt/python/${{ matrix.python }}/bin/python setup.py develop
186+
- uses: actions/checkout@v1
193187

194-
- name: Build wheel files
195-
run: |
196-
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
197-
198-
- name: Install auditwheel
199-
run: |
200-
/opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel
201-
202-
- name: Repair wheel files
203-
run: |
204-
/opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl
205-
206-
- name: List contents of dist
207-
run: ls -R dist
188+
- name: Compile c headers
189+
run: |
190+
/opt/python/${{ matrix.python }}/bin/python setup.py develop
208191
209-
- name: List contests of wheelhouse
210-
run: ls -R wheelhouse
192+
- name: Build wheel files
193+
run: |
194+
/opt/python/${{ matrix.python }}/bin/python setup.py bdist_wheel
211195
212-
- name: Move wheelhouse wheel files to dist
213-
run: |
214-
rm dist/*
215-
mv wheelhouse/* dist/
216-
rmdir wheelhouse
217-
218-
- name: List contents of dist
219-
run: ls -R dist
220-
221-
- name: Archive build artifacts
222-
uses: actions/upload-artifact@v3
223-
with:
224-
name: dist-artifacts-manylinux-${{ matrix.python }}
225-
path: dist/*
196+
- name: Install auditwheel
197+
run: |
198+
/opt/python/${{ matrix.python }}/bin/python -m pip install auditwheel
199+
200+
- name: Repair wheel files
201+
run: |
202+
/opt/python/${{ matrix.python }}/bin/python -m auditwheel repair dist/*${{ matrix.python }}-linux_x86_64.whl
203+
204+
- name: List contents of dist
205+
run: ls -R dist
206+
207+
- name: List contests of wheelhouse
208+
run: ls -R wheelhouse
209+
210+
- name: Move wheelhouse wheel files to dist
211+
run: |
212+
rm dist/*
213+
mv wheelhouse/* dist/
214+
rmdir wheelhouse
215+
216+
- name: List contents of dist
217+
run: ls -R dist
218+
219+
- name: Archive build artifacts
220+
uses: actions/upload-artifact@v1
221+
with:
222+
name: dist-artifacts-manylinux-${{ matrix.python }}
223+
path: dist/*
226224

227225
deploy-test:
228226
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)