Skip to content

Commit ae060c9

Browse files
Fix manylinux_2_17 image name for cibuildwheel
Use full quay.io/pypa/manylinux2014_x86_64 image URL since cibuildwheel doesn't resolve the shorthand. Also add python3 symlink for build scripts.
1 parent 236a05c commit ae060c9

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,24 @@ env:
1313

1414
jobs:
1515
build-linux:
16-
name: Linux ${{ matrix.manylinux }} ${{ matrix.python-version }}
16+
name: Linux ${{ matrix.manylinux_tag }} ${{ matrix.python-version }}
1717
runs-on: ubuntu-latest
1818
strategy:
1919
fail-fast: false
2020
matrix:
2121
python-version: ["cp39", "cp310", "cp311", "cp312", "cp313", "cp314"]
22-
manylinux: ["manylinux_2_17", "manylinux_2_28"]
22+
manylinux: ["quay.io/pypa/manylinux2014_x86_64", "manylinux_2_28"]
2323
include:
24-
- manylinux: manylinux_2_17
24+
- manylinux: "quay.io/pypa/manylinux2014_x86_64"
25+
manylinux_tag: manylinux_2_17
2526
before_all: >-
2627
yum install -y epel-release &&
2728
yum install -y hwloc-devel &&
29+
ln -sf /opt/python/cp312-cp312/bin/python3 /usr/local/bin/python3 &&
2830
bash {project}/scripts/build_mtkahypar.sh &&
2931
bash {project}/scripts/build_sharedmap_mtkahypar.sh
3032
- manylinux: manylinux_2_28
33+
manylinux_tag: manylinux_2_28
3134
before_all: >-
3235
yum install -y hwloc-devel &&
3336
bash {project}/scripts/build_mtkahypar.sh &&
@@ -56,7 +59,7 @@ jobs:
5659
5760
- uses: actions/upload-artifact@v4
5861
with:
59-
name: wheel-linux-${{ matrix.manylinux }}-${{ matrix.python-version }}
62+
name: wheel-linux-${{ matrix.manylinux_tag }}-${{ matrix.python-version }}
6063
path: wheelhouse/*.whl
6164

6265
build-macos-arm64:

0 commit comments

Comments
 (0)