2019-12-10 14:57:25 +01:00
|
|
|
jobs:
|
|
|
|
|
- job: linux
|
2022-10-07 12:16:50 +01:00
|
|
|
pool: {vmImage: 'Ubuntu-20.04'}
|
2019-12-10 14:57:25 +01:00
|
|
|
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
|
2023-10-03 20:07:09 +01:00
|
|
|
pip3 install cibuildwheel==2.16.2
|
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
|
2022-07-17 14:31:45 -04:00
|
|
|
pool: {vmImage: 'macOS-11'}
|
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
|
2023-10-03 20:07:09 +01:00
|
|
|
python3 -m pip install cibuildwheel==2.16.2
|
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
|
2022-02-22 14:26:51 -08:00
|
|
|
pool: {vmImage: 'windows-2019'}
|
2019-12-10 14:57:25 +01:00
|
|
|
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
|
2023-10-03 20:07:09 +01:00
|
|
|
pip install cibuildwheel==2.16.2
|
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'}
|