@@ -52,61 +52,60 @@ jobs:
5252 with :
5353 fetch-depth : 0
5454
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-
6455 - name : Build wheels for CPython 3.10
65- run : |
66- python -m cibuildwheel --output-dir dist
56+ uses : pypa/cibuildwheel@v2.7.0
6757 env :
6858 CIBW_BUILD : " cp310-*"
59+ CIBW_SKIP : " *-musllinux*"
6960 CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
7061 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
7265 MPL_DISABLE_FH4 : " yes"
7366 CIBW_ARCHS : ${{ matrix.cibw_archs }}
7467
7568 - name : Build wheels for CPython 3.9
76- run : |
77- python -m cibuildwheel --output-dir dist
69+ uses : pypa/cibuildwheel@v2.7.0
7870 env :
7971 CIBW_BUILD : " cp39-*"
72+ CIBW_SKIP : " *-musllinux*"
8073 CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
8174 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
8378 MPL_DISABLE_FH4 : " yes"
8479 CIBW_ARCHS : ${{ matrix.cibw_archs }}
8580
8681 - name : Build wheels for CPython 3.8
87- run : |
88- python -m cibuildwheel --output-dir dist
82+ uses : pypa/cibuildwheel@v2.7.0
8983 env :
9084 CIBW_BUILD : " cp38-*"
85+ CIBW_SKIP : " *-musllinux*"
9186 CIBW_MANYLINUX_X86_64_IMAGE : manylinux1
9287 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
9491 MPL_DISABLE_FH4 : " yes"
9592 CIBW_ARCHS : ${{ matrix.cibw_archs }}
9693
9794 - name : Build wheels for PyPy
98- run : |
99- python -m cibuildwheel --output-dir dist
95+ uses : pypa/cibuildwheel@v2.7.0
10096 env :
10197 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
103102 CIBW_ARCHS : ${{ matrix.cibw_archs }}
104103 PIP_USE_FEATURE : in-tree-build
105104 if : false && matrix.cibw_archs != 'aarch64'
106105
107106 - name : Validate that LICENSE files are included in wheels
108107 run : |
109- python ./ci/check_wheel_licenses.py
108+ python3 ./ci/check_wheel_licenses.py
110109
111110 - uses : actions/upload-artifact@v3
112111 with :
0 commit comments