Skip to content

Commit a25ed92

Browse files
committed
1
1 parent dce60a1 commit a25ed92

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Diff for: .github/workflows/build-push.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,9 @@ jobs:
169169
uses: docker/setup-qemu-action@v3
170170
with:
171171
platforms: all
172+
image: 'docker.io/tonistiigi/binfmt:desktop-v8.1.5'
172173
if: runner.os == 'Linux'
173174

174-
- name: Install dev dependencies
175-
run: |
176-
sudo apt-get install build-essential software-properties-common -y
177-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
178-
sudo apt-get update
179-
sudo apt-get install gcc-snapshot -y
180-
181175
- uses: actions/setup-python@v5
182176
name: Install Python
183177
with:
@@ -190,6 +184,11 @@ jobs:
190184
- name: Build wheels
191185
env:
192186
CIBW_BUILD: "cp39* cp310* cp311* cp312* cp313*" # limit to specific version since it take much more time than jobs limit
187+
CIBW_BEFORE_BUILD: |
188+
sudo apt-get install build-essential software-properties-common -y && \
189+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
190+
sudo apt-get update && \
191+
sudo apt-get install gcc-snapshot -y
193192
run: |
194193
python -m cibuildwheel --archs ${{ matrix.archs }} --output-dir wheelhouse
195194

0 commit comments

Comments
 (0)