Skip to content

Commit 5867518

Browse files
committed
Build: Add missing build setup in abi3 build job.
1 parent ceb934a commit 5867518

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,37 @@ jobs:
174174
- name: Checkout Cython
175175
uses: actions/checkout@v6
176176

177+
- name: Check out recursively
178+
run: git submodule update --init --recursive
179+
177180
- uses: actions/setup-python@v6.2.0
178181
with:
179182
python-version: '3.13'
180183

184+
- name: Set up QEMU
185+
if: runner.os == 'Linux'
186+
uses: docker/setup-qemu-action@v3
187+
with:
188+
platforms: all
189+
190+
- name: Install MacOS dependencies
191+
if: runner.os == 'macOS'
192+
run: |
193+
brew install automake libtool
194+
ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
195+
196+
- name: Setup Visual Studio for x64
197+
if: contains(matrix.os, 'windows') && contains(matrix.only, 'win_amd64')
198+
uses: TheMrMilchmann/setup-msvc-dev@v4
199+
with:
200+
arch: x64
201+
202+
- name: Setup Visual Studio for x86
203+
if: contains(matrix.os, 'windows') && contains(matrix.only, 'win32')
204+
uses: TheMrMilchmann/setup-msvc-dev@v4
205+
with:
206+
arch: x86
207+
181208
- name: Build wheels
182209
uses: pypa/cibuildwheel@v3.3.1
183210
env:

0 commit comments

Comments
 (0)