@@ -9,6 +9,10 @@ name: Build kits
9
9
on :
10
10
workflow_dispatch :
11
11
12
+ defaults :
13
+ run :
14
+ shell : bash
15
+
12
16
jobs :
13
17
build_wheels :
14
18
name : Build wheels on ${{ matrix.os }}
22
26
- name : Check out the repo
23
27
uses : actions/checkout@v2
24
28
25
- - name : Install Python
29
+ - name : Install Python 3.7
26
30
uses : actions/setup-python@v2
27
31
with :
28
32
python-version : " 3.7"
@@ -43,24 +47,54 @@ jobs:
43
47
run : |
44
48
python -m cibuildwheel --output-dir wheelhouse
45
49
46
- - uses : actions/upload-artifact@v2
50
+ - name : Upload wheels
51
+ uses : actions/upload-artifact@v2
47
52
with :
48
53
path : ./wheelhouse/*.whl
49
54
50
55
build_sdist :
51
56
name : Build source distribution
52
57
runs-on : ubuntu-latest
53
58
steps :
54
- - uses : actions/checkout@v2
59
+ - name : Check out the repo
60
+ uses : actions/checkout@v2
55
61
56
- - uses : actions/setup-python@v2
57
- name : Install Python
62
+ - name : Install Python 3.7
63
+ uses : actions/setup-python@v2
58
64
with :
59
65
python-version : " 3.7"
60
66
61
67
- name : Build sdist
62
- run : python setup.py sdist
68
+ run : |
69
+ python setup.py sdist
63
70
64
- - uses : actions/upload-artifact@v2
71
+ - name : Upload sdist
72
+ uses : actions/upload-artifact@v2
65
73
with :
66
74
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