Skip to content

Commit ae4a821

Browse files
committed
try again
1 parent 041fc86 commit ae4a821

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/dist.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ jobs:
6363
run: |
6464
python -m pip install -U pip
6565
python -m pip install "cibuildwheel>=2.20,<3"
66-
podman run --rm --privileged multiarch/qemu-user-static --reset -p yes
66+
67+
- name: Set up qemu
68+
if: ${{ matrix.buildplat[0] == 'ubuntu-20.04' }}
69+
run: sudo podman run --rm --privileged multiarch/qemu-user-static --reset -p yes
6770

6871
- name: Build wheels
6972
env:
7073
CIBW_BUILD: ${{ matrix.buildplat[2] }}
71-
CIBW_CONTAINER_ENGINE: podman
74+
CIBW_CONTAINER_ENGINE: ${{ matrix.buildplat[0] == 'ubuntu-20.04' && 'podman' || 'docker' }}
7275
run: python -m cibuildwheel --output-dir wheelhouse
7376

7477
- name: Build manylinux1 wheels

0 commit comments

Comments
 (0)