12
12
name : Create github release
13
13
outputs :
14
14
upload_url : ${{ steps.create_release.outputs.upload_url }}
15
- pkg_v : ' 0.1.9 '
15
+ pkg_v : ' 0.1.10 '
16
16
steps :
17
17
- name : Create Release
18
18
id : create_release
@@ -30,12 +30,17 @@ jobs:
30
30
runs-on : ubuntu-18.04
31
31
strategy :
32
32
matrix :
33
- envs : [['manylinux2010_x86_64', ''],
34
- ['manylinux1_x86_64', ''],
35
- ['manylinux1_i686', 'linux32']]
33
+ envs : [
34
+ ['manylinux_2_28_x86_64', '', 'manylinux_2_28_x86_64'],
35
+ ['manylinux2014_x86_64', '',
36
+ ' manylinux_2_17_x86_64.manylinux2014_x86_64' ],
37
+ ['manylinux2014_i686', 'linux32',
38
+ ' manylinux_2_17_i686.manylinux2014_i686' ]
39
+ ]
36
40
env :
37
41
PLAT : ${{ matrix.envs[0] }}
38
42
PRE_CMD : ${{ matrix.envs[1] }}
43
+ PLAT_TAGS : ${{ matrix.envs[2] }}
39
44
name : Build wheels on linux
40
45
steps :
41
46
- name : Checkout
@@ -54,26 +59,44 @@ jobs:
54
59
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
60
with :
56
61
upload_url : ${{ needs.create_release.outputs.upload_url }}
57
- asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp36-cp36m-${{ matrix.envs[0 ] }}.whl
58
- asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp36-cp36m-${{ matrix.envs[0 ] }}.whl
62
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp36-cp36m-${{ matrix.envs[2 ] }}.whl
63
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp36-cp36m-${{ matrix.envs[2 ] }}.whl
59
64
asset_content_type : application/zip
60
65
- name : Upload Release Asset Python3.7
61
66
uses : actions/upload-release-asset@v1
62
67
env :
63
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64
69
with :
65
70
upload_url : ${{ needs.create_release.outputs.upload_url }}
66
- asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp37-cp37m-${{ matrix.envs[0 ] }}.whl
67
- asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp37-cp37m-${{ matrix.envs[0 ] }}.whl
71
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp37-cp37m-${{ matrix.envs[2 ] }}.whl
72
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp37-cp37m-${{ matrix.envs[2 ] }}.whl
68
73
asset_content_type : application/zip
69
74
- name : Upload Release Asset Python3.8
70
75
uses : actions/upload-release-asset@v1
71
76
env :
72
77
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
78
with :
74
79
upload_url : ${{ needs.create_release.outputs.upload_url }}
75
- asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp38-cp38-${{ matrix.envs[0] }}.whl
76
- asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp38-cp38-${{ matrix.envs[0] }}.whl
80
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp38-cp38-${{ matrix.envs[2] }}.whl
81
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp38-cp38-${{ matrix.envs[2] }}.whl
82
+ asset_content_type : application/zip
83
+ - name : Upload Release Asset Python3.9
84
+ uses : actions/upload-release-asset@v1
85
+ env :
86
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87
+ with :
88
+ upload_url : ${{ needs.create_release.outputs.upload_url }}
89
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp39-cp39-${{ matrix.envs[2] }}.whl
90
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp39-cp39-${{ matrix.envs[2] }}.whl
91
+ asset_content_type : application/zip
92
+ - name : Upload Release Asset Python3.10
93
+ uses : actions/upload-release-asset@v1
94
+ env :
95
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
96
+ with :
97
+ upload_url : ${{ needs.create_release.outputs.upload_url }}
98
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp310-cp310-${{ matrix.envs[2] }}.whl
99
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp310-cp310-${{ matrix.envs[2] }}.whl
77
100
asset_content_type : application/zip
78
101
- name : Upload Release Asset sdist
79
102
if : ${{ matrix.envs[0] == 'manylinux2010_x86_64' }}
@@ -161,15 +184,67 @@ jobs:
161
184
asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp38-cp38-macosx_10_9_x86_64.whl
162
185
asset_content_type : application/zip
163
186
187
+ build_osx_39 :
188
+ needs : create_release
189
+ runs-on : macos-10.15
190
+ name : Build wheel on macOS Python3.9
191
+ env :
192
+ PYTHON_VERSION : ' 3.9.13'
193
+ steps :
194
+ - name : Checkout
195
+ uses : actions/checkout@v1
196
+ - name : Prepare build
197
+ run : |
198
+ ./contrib/install_osx.sh
199
+ - name : Build wheel
200
+ run : |
201
+ source contrib/version_env.sh && ./contrib/script_osx.sh
202
+ - name : Upload Release Asset
203
+ uses : actions/upload-release-asset@v1
204
+ env :
205
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
206
+ with :
207
+ upload_url : ${{ needs.create_release.outputs.upload_url }}
208
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp39-cp39-macosx_10_9_x86_64.whl
209
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp39-cp39-macosx_10_9_x86_64.whl
210
+ asset_content_type : application/zip
211
+
212
+ build_osx_310 :
213
+ needs : create_release
214
+ runs-on : macos-10.15
215
+ name : Build wheel on macOS Python3.10
216
+ env :
217
+ PYTHON_VERSION : ' 3.10.10'
218
+ steps :
219
+ - name : Checkout
220
+ uses : actions/checkout@v1
221
+ - name : Prepare build
222
+ run : |
223
+ ./contrib/install_osx.sh
224
+ - name : Build wheel
225
+ run : |
226
+ source contrib/version_env.sh && ./contrib/script_osx.sh
227
+ - name : Upload Release Asset
228
+ uses : actions/upload-release-asset@v1
229
+ env :
230
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
231
+ with :
232
+ upload_url : ${{ needs.create_release.outputs.upload_url }}
233
+ asset_path : dist/python_bls-${{ needs.create_release.outputs.pkg_v }}-cp310-cp310-macosx_10_9_universal2.whl
234
+ asset_name : python_bls-${{ needs.create_release.outputs.pkg_v }}-cp310-cp310-macosx_10_9_universal2.whl
235
+ asset_content_type : application/zip
236
+
164
237
build_win :
165
238
needs : create_release
166
239
runs-on : windows-2019
167
240
name : Build wheels on Win
168
241
strategy :
169
242
matrix :
170
- python-version : [[3.6, 'cp36-cp36m'],
171
- [3.7, 'cp37-cp37m'],
172
- [3.8, 'cp38-cp38']]
243
+ python-version : [['3.6', 'cp36-cp36m'],
244
+ ['3.7', 'cp37-cp37m'],
245
+ ['3.8', 'cp38-cp38'],
246
+ ['3.9', 'cp39-cp39'],
247
+ ['3.10', 'cp310-cp310']]
173
248
python-arch : [['x86', 'win32'], ['x64', 'win_amd64']]
174
249
env :
175
250
PYVER1 : ${{ matrix.python-version[1] }}
0 commit comments