36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
jobs:
|
|
- job: linux
|
|
pool: {vmImage: 'Ubuntu-16.04'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- bash: |
|
|
python3 -m pip install --upgrade pip
|
|
pip3 install cibuildwheel==1.3.0
|
|
cibuildwheel --output-dir wheelhouse .
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|
|
|
|
- job: macos
|
|
pool: {vmImage: 'macOS-10.15'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- bash: |
|
|
python3 -m pip install --upgrade pip
|
|
pip3 install cibuildwheel==1.3.0
|
|
cibuildwheel --output-dir wheelhouse .
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|
|
|
|
- job: windows
|
|
pool: {vmImage: 'vs2017-win2016'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
- script: choco install vcpython27 -f -y
|
|
displayName: Install Visual C++ for Python 2.7
|
|
- bash: |
|
|
python -m pip install --upgrade pip
|
|
pip install cibuildwheel==1.3.0
|
|
cibuildwheel --output-dir wheelhouse .
|
|
- task: PublishBuildArtifacts@1
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|