Files
cibuildwheel/azure-pipelines.yml
T

62 lines
1.9 KiB
YAML
Raw Normal View History

2023-07-09 15:59:27 +01:00
pr:
paths:
exclude:
- docs/*
- .pre-commit-config.yaml
2023-07-09 15:59:27 +01:00
2019-03-10 22:50:07 +00:00
jobs:
- job: linux_311
2025-04-29 00:25:17 +02:00
timeoutInMinutes: 180
pool: {vmImage: 'Ubuntu-22.04'}
steps:
2019-03-10 22:50:07 +00:00
- task: UsePythonVersion@0
2019-11-09 11:19:02 +01:00
inputs:
versionSpec: '3.11'
2019-03-10 22:50:07 +00:00
- bash: |
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
2024-11-19 13:30:06 -05:00
python -m pip install dependency-groups
python -m dependency_groups test | xargs python -m pip install -e.
if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
export CIBW_ENABLE=all
else
echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
fi
2019-03-10 22:50:07 +00:00
python ./bin/run_tests.py
- job: macos_311
pool: {vmImage: 'macOS-13'}
2025-04-29 00:25:17 +02:00
timeoutInMinutes: 120
steps:
2019-03-10 22:50:07 +00:00
- task: UsePythonVersion@0
2019-11-09 11:19:02 +01:00
inputs:
versionSpec: '3.11'
2019-03-10 22:50:07 +00:00
- bash: |
2024-11-19 13:30:06 -05:00
python -m pip install dependency-groups
python -m dependency_groups test | xargs python -m pip install -e.
if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
export CIBW_ENABLE=all
else
echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
fi
python ./bin/run_tests.py
2019-03-10 22:50:07 +00:00
- job: windows_311
2022-02-22 14:26:51 -08:00
pool: {vmImage: 'windows-2019'}
timeoutInMinutes: 180
steps:
- task: UsePythonVersion@0
2019-11-09 11:19:02 +01:00
inputs:
versionSpec: '3.11'
2019-03-10 22:50:07 +00:00
- bash: |
2024-11-19 13:30:06 -05:00
python -m pip install dependency-groups
python -m dependency_groups test | xargs python -m pip install -e.
if [ "$(Build.SourceBranch)" = "refs/heads/main" ]; then
echo "INFO: Exporting CIBW_ENABLE=all for main branch test run."
export CIBW_ENABLE=all
else
echo "INFO: CIBW_ENABLE not set for this branch ($(Build.SourceBranch))."
fi
2019-03-10 22:50:07 +00:00
python ./bin/run_tests.py