Skip to content

Commit 0c96d04

Browse files
committed
Check docker environment
1 parent a3460d7 commit 0c96d04

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build and Publish Python Wheels to PyPI
22

33
on:
4+
push:
5+
branches: ["*"]
46
release:
57
types: [published]
68
workflow_dispatch: # Allow manual triggering
@@ -23,6 +25,10 @@ jobs:
2325
with:
2426
python-version: '3.11'
2527

28+
- name: Set up Docker Buildx (Linux only)
29+
if: runner.os == 'Linux'
30+
uses: docker/setup-buildx-action@v3
31+
2632
- name: Install dependencies
2733
run: |
2834
python -m pip install --upgrade pip
@@ -39,6 +45,13 @@ jobs:
3945
cmake -G Ninja -B build
4046
ninja -C build
4147
48+
- name: Verify Docker (Linux only)
49+
if: runner.os == 'Linux'
50+
run: |
51+
docker --version
52+
docker info
53+
echo "Docker is ready for cibuildwheel"
54+
4255
- name: Build wheels
4356
env:
4457
CIBW_SKIP: "*-musllinux* *-manylinux_i686"

0 commit comments

Comments
 (0)