|
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 | + uses: pypa/cibuildwheel@v2.1.1 |
67 | 57 | env: |
68 | 58 | CIBW_BUILD: "cp310-*" |
69 | 59 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 |
|
73 | 63 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
74 | 64 |
|
75 | 65 | - name: Build wheels for CPython 3.9 |
76 | | - run: | |
77 | | - python -m cibuildwheel --output-dir dist |
| 66 | + uses: pypa/cibuildwheel@v2.1.1 |
78 | 67 | env: |
79 | 68 | CIBW_BUILD: "cp39-*" |
80 | 69 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 |
|
84 | 73 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
85 | 74 |
|
86 | 75 | - name: Build wheels for CPython 3.8 |
87 | | - run: | |
88 | | - python -m cibuildwheel --output-dir dist |
| 76 | + uses: pypa/cibuildwheel@v2.1.1 |
89 | 77 | env: |
90 | 78 | CIBW_BUILD: "cp38-*" |
91 | 79 | CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 |
|
95 | 83 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
96 | 84 |
|
97 | 85 | - name: Build wheels for PyPy |
98 | | - run: | |
99 | | - python -m cibuildwheel --output-dir dist |
| 86 | + uses: pypa/cibuildwheel@v2.1.1 |
100 | 87 | env: |
101 | 88 | CIBW_BUILD: "pp38-*" |
102 | 89 | CIBW_BEFORE_BUILD: pip install certifi oldest-supported-numpy |
|
106 | 93 |
|
107 | 94 | - name: Validate that LICENSE files are included in wheels |
108 | 95 | run: | |
109 | | - python ./ci/check_wheel_licenses.py |
| 96 | + python3 ./ci/check_wheel_licenses.py |
110 | 97 |
|
111 | 98 | - uses: actions/upload-artifact@v3 |
112 | 99 | with: |
|
0 commit comments