Skip to content

Commit 2e6ae2d

Browse files
committed
Exclude PyPy builds for cibuildwheels. [ci skip]
1 parent 3ef679e commit 2e6ae2d

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

devtools/azure-pipelines-cibuildwheel.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ trigger:
99
jobs:
1010
- job: linux
1111
pool: { vmImage: 'Ubuntu-22.04' }
12-
strategy:
13-
matrix:
14-
Python310:
15-
python.version: '3.10'
12+
variables:
13+
CIBW_BUILD: cp3{8,9,10,11}-manylinux_x86_64
1614
steps:
1715
- task: UsePythonVersion@0
16+
inputs:
17+
versionSpec: '3.8'
18+
architecture: 'x64'
19+
displayName: Use Python 3.8
1820
- bash: |
1921
set -o errexit
2022
python3 -m pip install --upgrade pip
@@ -27,12 +29,21 @@ jobs:
2729

2830
- job: macos
2931
pool: { vmImage: 'macOS-12' }
32+
variables:
33+
CIBW_BUILD: cp3{8,9,10,11}-macosx_*
34+
CIBW_ARCHS_MACOS: $(arch)
3035
strategy:
3136
matrix:
32-
Python310:
33-
python.version: '3.10'
37+
x86_64:
38+
arch: 'x86_64'
39+
arm64:
40+
arch: 'arm64'
3441
steps:
3542
- task: UsePythonVersion@0
43+
inputs:
44+
versionSpec: '3.8'
45+
architecture: 'x64'
46+
displayName: Use Python 3.8
3647
- bash: |
3748
set -o errexit
3849
python3 -m pip install --upgrade pip
@@ -45,12 +56,14 @@ jobs:
4556

4657
- job: windows
4758
pool: { vmImage: 'windows-2019' }
48-
strategy:
49-
matrix:
50-
Python310:
51-
python.version: '3.10'
59+
variables:
60+
CIBW_BUILD: cp3{8,9,10,11}-win_amd64
5261
steps:
5362
- task: UsePythonVersion@0
63+
inputs:
64+
versionSpec: '3.8'
65+
architecture: 'x64'
66+
displayName: Use Python 3.8
5467
- bash: |
5568
set -o errexit
5669
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)