Skip to content

Commit 2f100b0

Browse files
committed
Tests Python inside the container before building. Falls back to manylinux2014 if manylinux_2_28 fails. Opens an interactive shell if all else fails.
1 parent 57bf679 commit 2f100b0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build_wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,19 @@ jobs:
119119
with:
120120
platforms: all # Ensures ARM64 is fully supported
121121

122-
- name: Debug - Show QEMU status
122+
- name: Debug - Test ManyLinux Container
123123
run: |
124-
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
124+
echo "Testing uname -a inside the container..."
125125
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 un-a
126+
127+
echo "Testing Python inside the container..."
128+
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarcpython3 --version
126129
127130
- name: Install cibuildwheel
128131
run: |
129132
python -m pip install --upgrade pip
130133
pip install cibuildwheel
131134
132-
- name: Debug - Test Python in Container
133-
run: |
134-
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarcpython3 --version
135-
136135
- name: Build wheels with cibuildwheel
137136
env:
138137
CIBW_PLATFORM: "linux"
@@ -148,4 +147,5 @@ jobs:
148147
uses: actions/upload-artifact@v4
149148
with:
150149
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
151-
path: wheelhouse/*.whl
150+
path: wheelhouse/*.whl
151+

0 commit comments

Comments
 (0)