diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ab6656c..ab4d6fa8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,6 +47,13 @@ jobs: id: pr-labels uses: joerick/pr-labels-action@v1.0.6 + - name: Set up QEMU + id: qemu + uses: docker/setup-qemu-action@v1 + with: + platforms: all + if: runner.os == "Linux" + - name: Sample build if: contains(steps.pr-labels.outputs.labels, ' ci-sample-build ') run: | diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index cfd4952c..d0f36a9d 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -13,6 +13,8 @@ from .util import (BuildOptions, BuildSelector, NonPlatformWheelError, def matches_platform(identifier: str) -> bool: + output = subprocess.check_output(['docker', '--version']) + print("We found support for these platforms:", output) pm = platform.machine() if pm == "x86_64": # x86_64 machines can run i686 docker containers