2019-12-10 14:57:25 +01:00
|
|
|
jobs:
|
|
|
|
|
- job: linux
|
|
|
|
|
pool: {vmImage: 'Ubuntu-16.04'}
|
|
|
|
|
steps:
|
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
|
- bash: |
|
2020-11-13 14:57:09 +00:00
|
|
|
set -o errexit
|
2020-02-26 22:10:31 +00:00
|
|
|
python3 -m pip install --upgrade pip
|
2021-06-22 18:13:50 +01:00
|
|
|
pip3 install cibuildwheel==1.12.0
|
2020-11-14 14:33:58 +00:00
|
|
|
displayName: Install dependencies
|
|
|
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
|
|
|
displayName: Build wheels
|
2019-12-10 14:57:25 +01:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|
|
|
|
|
|
|
|
|
|
- job: macos
|
2020-02-26 16:47:26 -05:00
|
|
|
pool: {vmImage: 'macOS-10.15'}
|
2019-12-10 14:57:25 +01:00
|
|
|
steps:
|
|
|
|
|
- task: UsePythonVersion@0
|
2020-11-14 14:33:58 +00:00
|
|
|
- bash: |
|
2020-11-13 14:57:09 +00:00
|
|
|
set -o errexit
|
2020-02-26 22:10:31 +00:00
|
|
|
python3 -m pip install --upgrade pip
|
2021-06-22 18:13:50 +01:00
|
|
|
python3 -m pip install cibuildwheel==1.12.0
|
2020-11-14 14:33:58 +00:00
|
|
|
displayName: Install dependencies
|
|
|
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
|
|
|
displayName: Build wheels
|
2019-12-10 14:57:25 +01:00
|
|
|
- task: PublishBuildArtifacts@1
|
2020-11-13 19:20:16 +00:00
|
|
|
inputs: {pathtoPublish: wheelhouse}
|
2019-12-10 14:57:25 +01:00
|
|
|
|
|
|
|
|
- job: windows
|
|
|
|
|
pool: {vmImage: 'vs2017-win2016'}
|
|
|
|
|
steps:
|
|
|
|
|
- task: UsePythonVersion@0
|
|
|
|
|
- bash: |
|
2020-11-13 14:57:09 +00:00
|
|
|
set -o errexit
|
2020-03-06 10:30:16 +00:00
|
|
|
python -m pip install --upgrade pip
|
2021-06-22 18:13:50 +01:00
|
|
|
pip install cibuildwheel==1.12.0
|
2020-11-14 14:33:58 +00:00
|
|
|
displayName: Install dependencies
|
|
|
|
|
- bash: cibuildwheel --output-dir wheelhouse .
|
|
|
|
|
displayName: Build wheels
|
2019-12-10 14:57:25 +01:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
|
inputs: {pathtoPublish: 'wheelhouse'}
|