Skip to content

Commit c69e51d

Browse files
committed
chore: Split cibuildwheel jobs across multiple Linux instances.
1 parent 42f6984 commit c69e51d

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

ci/cibuildwheel.yaml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ stages:
7575
- task: PublishBuildArtifacts@1
7676
inputs: {pathtoPublish: 'wheelhouse'}
7777

78-
- job: linux_x64
78+
- job: linux_x64_cpython_manylinux
7979
pool: {vmImage: 'ubuntu-latest'}
8080
timeoutInMinutes: 60
8181
steps:
@@ -87,6 +87,42 @@ stages:
8787
displayName: Install dependencies
8888
- bash: cibuildwheel --output-dir wheelhouse .
8989
displayName: Build wheels
90+
env:
91+
CIBW_BUILD: cp*-manylinux*
92+
- task: PublishBuildArtifacts@1
93+
inputs: {pathtoPublish: 'wheelhouse'}
94+
95+
- job: linux_x64_cpython_musllinux
96+
pool: {vmImage: 'ubuntu-latest'}
97+
timeoutInMinutes: 60
98+
steps:
99+
- task: UsePythonVersion@0
100+
- bash: |
101+
set -o errexit
102+
python3 -m pip install --upgrade pip
103+
pip3 install cibuildwheel==2.8.1
104+
displayName: Install dependencies
105+
- bash: cibuildwheel --output-dir wheelhouse .
106+
displayName: Build wheels
107+
env:
108+
CIBW_BUILD: cp*-musllinux*
109+
- task: PublishBuildArtifacts@1
110+
inputs: {pathtoPublish: 'wheelhouse'}
111+
112+
- job: linux_x64_pypy
113+
pool: {vmImage: 'ubuntu-latest'}
114+
timeoutInMinutes: 60
115+
steps:
116+
- task: UsePythonVersion@0
117+
- bash: |
118+
set -o errexit
119+
python3 -m pip install --upgrade pip
120+
pip3 install cibuildwheel==2.8.1
121+
displayName: Install dependencies
122+
- bash: cibuildwheel --output-dir wheelhouse .
123+
displayName: Build wheels
124+
env:
125+
CIBW_SKIP: cp*-{musllinux,manylinux}
90126
- task: PublishBuildArtifacts@1
91127
inputs: {pathtoPublish: 'wheelhouse'}
92128

0 commit comments

Comments
 (0)