Skip to content

Commit 57bf679

Browse files
committed
Fixes typo in uname-a → uname -a. Ensures QEMU is fully initialized.
1 parent 3e32152 commit 57bf679

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build_wheels.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,22 @@ jobs:
117117
- name: Set up QEMU for cross-compilation
118118
uses: docker/setup-qemu-action@v2
119119
with:
120-
platforms: all # Ensures ARM64 is properly supported
120+
platforms: all # Ensures ARM64 is fully supported
121121

122-
- name: Test ManyLinux Container
122+
- name: Debug - Show QEMU status
123123
run: |
124-
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 uname-a
124+
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
125+
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 un-a
125126
126127
- name: Install cibuildwheel
127128
run: |
128129
python -m pip install --upgrade pip
129130
pip install cibuildwheel
130131
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+
131136
- name: Build wheels with cibuildwheel
132137
env:
133138
CIBW_PLATFORM: "linux"
@@ -137,12 +142,10 @@ jobs:
137142
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
138143
CIBW_BUILD_VERBOSITY: 3
139144
run: |
140-
docker run --rm --platform linux/aarch64 -it quay.io/pypa/manylinux_2_28_aarchbin/bash -c "echo Container Started OK"
141145
cibuildwheel --output-dir wheelhouse
142146
143147
- name: upload wheels
144148
uses: actions/upload-artifact@v4
145149
with:
146150
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
147-
path: wheelhouse/*.whl
148-
151+
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)