@@ -35,20 +35,29 @@ jobs:
3535name :Build wheels on ${{ matrix.os }}
3636runs-on :${{ matrix.os }}
3737env :
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
4041CIBW_BEFORE_BUILD_WINDOWS :>-
4142 pip install certifi delvewheel oldest-supported-numpy &&
4243 git clean -fxd build
4344CIBW_REPAIR_WHEEL_COMMAND_WINDOWS :>-
4445 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"
4550strategy :
4651matrix :
47- os :[ubuntu-20.04, windows-latest, macos-11]
48- cibw_archs :["auto"]
4952include :
53+ -os :ubuntu-20.04
54+ cibw_archs :" x86_64"
5055 -os :ubuntu-20.04
5156cibw_archs :" aarch64"
57+ -os :windows-latest
58+ cibw_archs :" auto"
59+ -os :macos-11
60+ cibw_archs :" x86_64 universal2 arm64"
5261
5362steps :
5463 -name :Set up QEMU
@@ -73,49 +82,24 @@ jobs:
7382uses :pypa/cibuildwheel@v2.12.1
7483env :
7584CIBW_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"
8385CIBW_ARCHS :${{ matrix.cibw_archs }}
8486
8587 -name :Build wheels for CPython 3.10
8688uses :pypa/cibuildwheel@v2.12.1
8789env :
8890CIBW_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"
9691CIBW_ARCHS :${{ matrix.cibw_archs }}
9792
9893 -name :Build wheels for CPython 3.9
9994uses :pypa/cibuildwheel@v2.12.1
10095env :
10196CIBW_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"
10997CIBW_ARCHS :${{ matrix.cibw_archs }}
11098
11199 -name :Build wheels for PyPy
112100uses :pypa/cibuildwheel@v2.12.1
113101env :
114102CIBW_BUILD :" pp39-*"
115- CIBW_SKIP :" *-musllinux*"
116- CIBW_BEFORE_BUILD :>-
117- pip install certifi oldest-supported-numpy &&
118- git clean -fxd build
119103CIBW_ARCHS :${{ matrix.cibw_archs }}
120104if :matrix.cibw_archs != 'aarch64'
121105