Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e0ac6cb

Browse files
committed
Build wheels for PyPy if on v3.3.* branch/tag.
1 parent e68362a commit e0ac6cb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,27 @@ jobs:
3030
run: |
3131
python -m pip install cibuildwheel==1.5.5
3232
33-
- name: Build wheels
33+
- name: Build wheels for CPython
3434
run: |
3535
python -m cibuildwheel --output-dir dist
3636
env:
3737
CIBW_BUILD: "cp3?-*"
3838
CIBW_SKIP: "cp35-* cp36-*"
3939
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
4040
CIBW_MANYLINUX_I686_IMAGE: manylinux1
41-
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux1
4241
CIBW_BEFORE_BUILD: pip install numpy==1.15
4342

43+
- name: Build wheels for PyPy
44+
run: |
45+
python -m cibuildwheel --output-dir dist
46+
env:
47+
CIBW_BUILD: "pp3?-*"
48+
CIBW_BEFORE_BUILD: pip install numpy==1.15
49+
if: >
50+
runner.os != 'Windows' && (
51+
startsWith(github.ref, 'refs/heads/v3.3') ||
52+
startsWith(github.ref, 'refs/tags/v3.3') )
53+
4454
- uses: actions/upload-artifact@v2
4555
with:
4656
name: wheels

0 commit comments

Comments
 (0)