@@ -35,20 +35,29 @@ jobs:
35
35
name :Build wheels on ${{ matrix.os }}
36
36
runs-on :${{ matrix.os }}
37
37
env :
38
- CIBW_ARCHS_MACOS :" x86_64 universal2 arm64"
39
- MACOSX_DEPLOYMENT_TARGET :" 10.12"
38
+ CIBW_BEFORE_BUILD :>-
39
+ pip install certifi oldest-supported-numpy &&
40
+ git clean -fxd build
40
41
CIBW_BEFORE_BUILD_WINDOWS :>-
41
42
pip install certifi delvewheel oldest-supported-numpy &&
42
43
git clean -fxd build
43
44
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS :>-
44
45
delvewheel repair -w {dest_dir} {wheel}
46
+ CIBW_MANYLINUX_X86_64_IMAGE :manylinux2014
47
+ CIBW_SKIP :" *-musllinux*"
48
+ MACOSX_DEPLOYMENT_TARGET :" 10.12"
49
+ MPL_DISABLE_FH4 :" yes"
45
50
strategy :
46
51
matrix :
47
- os :[ubuntu-20.04, windows-latest, macos-11]
48
- cibw_archs :["auto"]
49
52
include :
53
+ -os :ubuntu-20.04
54
+ cibw_archs :" x86_64"
50
55
-os :ubuntu-20.04
51
56
cibw_archs :" aarch64"
57
+ -os :windows-latest
58
+ cibw_archs :" auto"
59
+ -os :macos-11
60
+ cibw_archs :" x86_64 universal2 arm64"
52
61
53
62
steps :
54
63
-name :Set up QEMU
@@ -73,49 +82,24 @@ jobs:
73
82
uses :pypa/cibuildwheel@v2.12.1
74
83
env :
75
84
CIBW_BUILD :" cp311-*"
76
- CIBW_SKIP :" *-musllinux*"
77
- CIBW_MANYLINUX_X86_64_IMAGE :manylinux2014
78
- CIBW_MANYLINUX_I686_IMAGE :manylinux2014
79
- CIBW_BEFORE_BUILD :>-
80
- pip install certifi oldest-supported-numpy &&
81
- git clean -fxd build
82
- MPL_DISABLE_FH4 :" yes"
83
85
CIBW_ARCHS :${{ matrix.cibw_archs }}
84
86
85
87
-name :Build wheels for CPython 3.10
86
88
uses :pypa/cibuildwheel@v2.12.1
87
89
env :
88
90
CIBW_BUILD :" cp310-*"
89
- CIBW_SKIP :" *-musllinux*"
90
- CIBW_MANYLINUX_X86_64_IMAGE :manylinux2014
91
- CIBW_MANYLINUX_I686_IMAGE :manylinux2014
92
- CIBW_BEFORE_BUILD :>-
93
- pip install certifi oldest-supported-numpy &&
94
- git clean -fxd build
95
- MPL_DISABLE_FH4 :" yes"
96
91
CIBW_ARCHS :${{ matrix.cibw_archs }}
97
92
98
93
-name :Build wheels for CPython 3.9
99
94
uses :pypa/cibuildwheel@v2.12.1
100
95
env :
101
96
CIBW_BUILD :" cp39-*"
102
- CIBW_SKIP :" *-musllinux*"
103
- CIBW_MANYLINUX_X86_64_IMAGE :manylinux2014
104
- CIBW_MANYLINUX_I686_IMAGE :manylinux2014
105
- CIBW_BEFORE_BUILD :>-
106
- pip install certifi oldest-supported-numpy &&
107
- git clean -fxd build
108
- MPL_DISABLE_FH4 :" yes"
109
97
CIBW_ARCHS :${{ matrix.cibw_archs }}
110
98
111
99
-name :Build wheels for PyPy
112
100
uses :pypa/cibuildwheel@v2.12.1
113
101
env :
114
102
CIBW_BUILD :" pp39-*"
115
- CIBW_SKIP :" *-musllinux*"
116
- CIBW_BEFORE_BUILD :>-
117
- pip install certifi oldest-supported-numpy &&
118
- git clean -fxd build
119
103
CIBW_ARCHS :${{ matrix.cibw_archs }}
120
104
if :matrix.cibw_archs != 'aarch64'
121
105