@@ -52,61 +52,60 @@ jobs:
52
52
with :
53
53
fetch-depth : 0
54
54
55
- - uses : actions/setup-python@v4
56
- name : Install Python
57
- with :
58
- python-version : ' 3.8'
59
-
60
- - name : Install cibuildwheel
61
- run : |
62
- python -m pip install cibuildwheel==2.1.1
63
-
64
55
- name : Build wheels for CPython 3.10
65
- run : |
66
- python -m cibuildwheel --output-dir dist
56
+
67
57
env :
68
58
CIBW_BUILD : " cp310-*"
59
+ CIBW_SKIP : " *-musllinux*"
69
60
CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
70
61
CIBW_MANYLINUX_I686_IMAGE : manylinux2014
71
- CIBW_BEFORE_BUILD : pip install certifi oldest-supported-numpy
62
+ CIBW_BEFORE_BUILD : >-
63
+ pip install certifi oldest-supported-numpy &&
64
+ git clean -fxd build
72
65
MPL_DISABLE_FH4 : " yes"
73
66
CIBW_ARCHS : ${{ matrix.cibw_archs }}
74
67
75
68
- name : Build wheels for CPython 3.9
76
- run : |
77
- python -m cibuildwheel --output-dir dist
69
+
78
70
env :
79
71
CIBW_BUILD : " cp39-*"
72
+ CIBW_SKIP : " *-musllinux*"
80
73
CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
81
74
CIBW_MANYLINUX_I686_IMAGE : manylinux1
82
- CIBW_BEFORE_BUILD : pip install certifi oldest-supported-numpy
75
+ CIBW_BEFORE_BUILD : >-
76
+ pip install certifi oldest-supported-numpy &&
77
+ git clean -fxd build
83
78
MPL_DISABLE_FH4 : " yes"
84
79
CIBW_ARCHS : ${{ matrix.cibw_archs }}
85
80
86
81
- name : Build wheels for CPython 3.8
87
- run : |
88
- python -m cibuildwheel --output-dir dist
82
+
89
83
env :
90
84
CIBW_BUILD : " cp38-*"
85
+ CIBW_SKIP : " *-musllinux*"
91
86
CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
92
87
CIBW_MANYLINUX_I686_IMAGE : manylinux1
93
- CIBW_BEFORE_BUILD : pip install certifi numpy==1.19.2
88
+ CIBW_BEFORE_BUILD : >-
89
+ pip install certifi numpy==1.19.2 &&
90
+ git clean -fxd build
94
91
MPL_DISABLE_FH4 : " yes"
95
92
CIBW_ARCHS : ${{ matrix.cibw_archs }}
96
93
97
94
- name : Build wheels for PyPy
98
- run : |
99
- python -m cibuildwheel --output-dir dist
95
+
100
96
env :
101
97
CIBW_BUILD : " pp38-*"
102
- CIBW_BEFORE_BUILD : pip install certifi oldest-supported-numpy
98
+ CIBW_SKIP : " *-musllinux*"
99
+ CIBW_BEFORE_BUILD : >-
100
+ pip install certifi oldest-supported-numpy &&
101
+ git clean -fxd build
103
102
CIBW_ARCHS : ${{ matrix.cibw_archs }}
104
103
PIP_USE_FEATURE : in-tree-build
105
104
if : false && matrix.cibw_archs != 'aarch64'
106
105
107
106
- name : Validate that LICENSE files are included in wheels
108
107
run : |
109
- python ./ci/check_wheel_licenses.py
108
+ python3 ./ci/check_wheel_licenses.py
110
109
111
110
- uses : actions/upload-artifact@v3
112
111
with :
0 commit comments