Skip to content

chore: Split cibuildwheel jobs across multiple Linux instances. #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion ci/cibuildwheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ stages:
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'wheelhouse'}

- job: linux_x64
- job: linux_x64_cpython_manylinux_x86_64
pool: {vmImage: 'ubuntu-latest'}
timeoutInMinutes: 60
steps:
Expand All @@ -87,6 +87,59 @@ stages:
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
env:
CIBW_BUILD: cp*-manylinux_x86_64
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'wheelhouse'}

- job: linux_x64_cpython_manylinux_i686
pool: {vmImage: 'ubuntu-latest'}
timeoutInMinutes: 60
steps:
- task: UsePythonVersion@0
- bash: |
set -o errexit
python3 -m pip install --upgrade pip
pip3 install cibuildwheel==2.8.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
env:
CIBW_BUILD: cp*-manylinux_i686
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'wheelhouse'}

- job: linux_x64_cpython_musllinux
pool: {vmImage: 'ubuntu-latest'}
timeoutInMinutes: 60
steps:
- task: UsePythonVersion@0
- bash: |
set -o errexit
python3 -m pip install --upgrade pip
pip3 install cibuildwheel==2.8.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
env:
CIBW_BUILD: cp*-musllinux*
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'wheelhouse'}

- job: linux_x64_pypy
pool: {vmImage: 'ubuntu-latest'}
timeoutInMinutes: 60
steps:
- task: UsePythonVersion@0
- bash: |
set -o errexit
python3 -m pip install --upgrade pip
pip3 install cibuildwheel==2.8.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
env:
CIBW_BUILD: pp*
- task: PublishBuildArtifacts@1
inputs: {pathtoPublish: 'wheelhouse'}

Expand Down