Skip to content

Commit d6958b5

Browse files
authored
chore: Split cibuildwheel jobs across multiple Linux instances. (#15)
1 parent 1df85e1 commit d6958b5

File tree

1 file changed

+54
-1
lines changed

1 file changed

+54
-1
lines changed

ci/cibuildwheel.yaml

Lines changed: 54 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_x86_64
7979
pool: {vmImage: 'ubuntu-latest'}
8080
timeoutInMinutes: 60
8181
steps:
@@ -87,6 +87,59 @@ stages:
8787
displayName: Install dependencies
8888
- bash: cibuildwheel --output-dir wheelhouse .
8989
displayName: Build wheels
90+
env:
91+
CIBW_BUILD: cp*-manylinux_x86_64
92+
- task: PublishBuildArtifacts@1
93+
inputs: {pathtoPublish: 'wheelhouse'}
94+
95+
- job: linux_x64_cpython_manylinux_i686
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*-manylinux_i686
109+
- task: PublishBuildArtifacts@1
110+
inputs: {pathtoPublish: 'wheelhouse'}
111+
112+
- job: linux_x64_cpython_musllinux
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_BUILD: cp*-musllinux*
126+
- task: PublishBuildArtifacts@1
127+
inputs: {pathtoPublish: 'wheelhouse'}
128+
129+
- job: linux_x64_pypy
130+
pool: {vmImage: 'ubuntu-latest'}
131+
timeoutInMinutes: 60
132+
steps:
133+
- task: UsePythonVersion@0
134+
- bash: |
135+
set -o errexit
136+
python3 -m pip install --upgrade pip
137+
pip3 install cibuildwheel==2.8.1
138+
displayName: Install dependencies
139+
- bash: cibuildwheel --output-dir wheelhouse .
140+
displayName: Build wheels
141+
env:
142+
CIBW_BUILD: pp*
90143
- task: PublishBuildArtifacts@1
91144
inputs: {pathtoPublish: 'wheelhouse'}
92145

0 commit comments

Comments
 (0)