43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
jobs:
|
|
- job: linux
|
|
pool: {vmImage: 'Ubuntu-16.04'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- bash: |
|
|
set -o errexit
|
|
python3 -m pip install --upgrade pip
|
|
pip3 install cibuildwheel==2.0.0b2
|
|
displayName: Install dependencies
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
displayName: Build wheels
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|
|
|
|
- job: macos
|
|
pool: {vmImage: 'macOS-10.15'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- bash: |
|
|
set -o errexit
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install cibuildwheel==2.0.0b2
|
|
displayName: Install dependencies
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
displayName: Build wheels
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: wheelhouse}
|
|
|
|
- job: windows
|
|
pool: {vmImage: 'vs2017-win2016'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- bash: |
|
|
set -o errexit
|
|
python -m pip install --upgrade pip
|
|
pip install cibuildwheel==2.0.0b2
|
|
displayName: Install dependencies
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
displayName: Build wheels
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|