Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,25 @@ jobs:
& python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.cibw_arch }}
shell: pwsh

# The wheel test runs in a Windows container, but the Docker daemon is
# not reliably running when cibuildwheel reaches the test step, which
# fails the job after the wheels have already been built. Start it and
# wait for it here instead, so a daemon problem is caught in seconds.
- name: Start Docker
if: matrix.cibw_arch != 'ARM64'
run: |
Start-Service docker
foreach ($i in 1..30) {
docker info *> $null
if ($LASTEXITCODE -eq 0) {
Write-Host "Docker daemon ready after $i attempt(s)"
exit 0
}
Start-Sleep -Seconds 2
}
Write-Error "Docker daemon did not become ready"
shell: pwsh

- name: Build wheels
run: |
for f in winbuild/build/license/*; do
Expand Down
Loading