Skip to content

Commit 535a8e1

Browse files
committed
split windows CI into two jobs
1 parent 48d7559 commit 535a8e1

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

ci/cibuildwheel.yaml

+20-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ stages:
158158
- task: PublishBuildArtifacts@1
159159
inputs: {pathtoPublish: wheelhouse}
160160

161-
- job: windows_x64
161+
- job: windows_i686
162162
pool: {vmImage: 'windows-2019'}
163163
timeoutInMinutes: 60
164164
steps:
@@ -170,5 +170,24 @@ stages:
170170
displayName: Install dependencies
171171
- bash: cibuildwheel --output-dir wheelhouse .
172172
displayName: Build wheels
173+
env:
174+
CIBW_BUILD: "*win32*"
175+
- task: PublishBuildArtifacts@1
176+
inputs: {pathtoPublish: 'wheelhouse'}
177+
178+
- job: windows_x86_64
179+
pool: {vmImage: 'windows-2019'}
180+
timeoutInMinutes: 60
181+
steps:
182+
- task: UsePythonVersion@0
183+
- bash: |
184+
set -o errexit
185+
python3 -m pip install --upgrade pip
186+
python3 -m pip install cibuildwheel
187+
displayName: Install dependencies
188+
- bash: cibuildwheel --output-dir wheelhouse .
189+
displayName: Build wheels
190+
env:
191+
CIBW_BUILD: "*win_amd64*"
173192
- task: PublishBuildArtifacts@1
174193
inputs: {pathtoPublish: 'wheelhouse'}

0 commit comments

Comments
 (0)