@@ -9,6 +9,10 @@ name: Build kits
99on :
1010 workflow_dispatch :
1111
12+ defaults :
13+ run :
14+ shell : bash
15+
1216jobs :
1317 build_wheels :
1418 name : Build wheels on ${{ matrix.os }}
2226 - name : Check out the repo
2327 uses : actions/checkout@v2
2428
25- - name : Install Python
29+ - name : Install Python 3.7
2630 uses : actions/setup-python@v2
2731 with :
2832 python-version : " 3.7"
@@ -43,24 +47,54 @@ jobs:
4347 run : |
4448 python -m cibuildwheel --output-dir wheelhouse
4549
46- - uses : actions/upload-artifact@v2
50+ - name : Upload wheels
51+ uses : actions/upload-artifact@v2
4752 with :
4853 path : ./wheelhouse/*.whl
4954
5055 build_sdist :
5156 name : Build source distribution
5257 runs-on : ubuntu-latest
5358 steps :
54- - uses : actions/checkout@v2
59+ - name : Check out the repo
60+ uses : actions/checkout@v2
5561
56- - uses : actions/setup-python@v2
57- name : Install Python
62+ - name : Install Python 3.7
63+ uses : actions/setup-python@v2
5864 with :
5965 python-version : " 3.7"
6066
6167 - name : Build sdist
62- run : python setup.py sdist
68+ run : |
69+ python setup.py sdist
6370
64- - uses : actions/upload-artifact@v2
71+ - name : Upload sdist
72+ uses : actions/upload-artifact@v2
6573 with :
6674 path : dist/*.tar.gz
75+
76+ build_pypy :
77+ name : Build PyPy wheels
78+ runs-on : ubuntu-latest
79+ steps :
80+ - name : Check out the repo
81+ uses : actions/checkout@v2
82+
83+ - name : Install PyPy
84+ uses : actions/setup-python@v2
85+ with :
86+ python-version : " pypy3"
87+
88+ - name : Install requirements
89+ run : |
90+ pypy3 -m pip install -r requirements/wheel.pip
91+
92+ - name : Build wheels
93+ run : |
94+ pypy3 setup.py bdist_wheel --python-tag pp36
95+ pypy3 setup.py bdist_wheel --python-tag pp37
96+
97+ - name : Upload wheels
98+ uses : actions/upload-artifact@v2
99+ with :
100+ path : dist/*.whl
0 commit comments