File tree Expand file tree Collapse file tree 4 files changed +53
-2
lines changed Expand file tree Collapse file tree 4 files changed +53
-2
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,24 @@ jobs:
138
138
- ubuntu
139
139
- windows
140
140
- macos
141
+ tag :
142
+ - ' '
143
+ - ' musllinux'
144
+ exclude :
145
+ - os : windows
146
+ tag : ' musllinux'
147
+ - os : macos
148
+ tag : ' musllinux'
149
+ - os : ubuntu
150
+ tag : >-
151
+ ${{
152
+ (github.event_name != 'push' || github.ref_type != 'tag')
153
+ && 'musllinux' || 'none'
154
+ }}
141
155
uses : ./.github/workflows/reusable-build-wheel.yml
142
156
with :
143
157
os : ${{ matrix.os }}
158
+ tag : ${{ matrix.tag }}
144
159
wheel-tags-to-skip : >-
145
160
${{
146
161
(github.event_name != 'push' || !contains(github.ref, 'refs/tags/'))
@@ -150,7 +165,8 @@ jobs:
150
165
*-win32
151
166
*_arm64
152
167
pp*'
153
- || ''
168
+ || (matrix.tag == 'musllinux') && '*-manylinux_* pp*'
169
+ || '*-musllinux_* pp*'
154
170
}}
155
171
source-tarball-name : >-
156
172
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
@@ -393,9 +409,20 @@ jobs:
393
409
- aarch64
394
410
- ppc64le
395
411
- s390x
412
+ - armv7l
413
+ tag :
414
+ - ' '
415
+ - musllinux
396
416
uses : ./.github/workflows/reusable-build-wheel.yml
397
417
with :
398
418
qemu : ${{ matrix.qemu }}
419
+ tag : ${{ matrix.tag }}
420
+ wheel-tags-to-skip : >-
421
+ ${{
422
+ (matrix.tag == 'musllinux')
423
+ && '*-manylinux_* pp*'
424
+ || '*-musllinux_* pp*'
425
+ }}
399
426
source-tarball-name : >-
400
427
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
401
428
dists-artifact-name : ${{ needs.pre-setup.outputs.dists-artifact-name }}
Original file line number Diff line number Diff line change 24
24
default : ' '
25
25
required : false
26
26
type : string
27
+ tag :
28
+ description : Build platform tag wheels
29
+ default : ' '
30
+ required : false
31
+ type : string
27
32
source-tarball-name :
28
33
description : Sdist filename wildcard
29
34
required : true
42
47
jobs :
43
48
44
49
build-wheel :
45
- name : Build wheels on ${{ inputs.os }} ${{ inputs.qemu }}
50
+ name : >-
51
+ Build ${{ inputs.tag }} wheels on ${{ inputs.os }} ${{ inputs.qemu }}
46
52
runs-on : ${{ inputs.os }}-latest
47
53
timeout-minutes : ${{ inputs.qemu && 25 || 11 }}
48
54
steps :
55
+ - name : Compute GHA artifact name ending
56
+ id : gha-artifact-name
57
+ run : |
58
+ from hashlib import sha512
59
+ from os import environ
60
+ from pathlib import Path
61
+ FILE_APPEND_MODE = 'a'
62
+ inputs_json_str = """${{ toJSON(inputs) }}"""
63
+ hash = sha512(inputs_json_str.encode()).hexdigest()
64
+ with Path(environ['GITHUB_OUTPUT']).open(
65
+ mode=FILE_APPEND_MODE,
66
+ ) as outputs_file:
67
+ print(f'hash={hash}', file=outputs_file)
68
+ shell : python
49
69
- name : Retrieve the project source from an sdist inside the GHA artifact
50
70
uses : re-actors/checkout-python-sdist@release/v2
51
71
with :
86
106
name : ${{ inputs.dists-artifact-name }}-
87
107
${{ inputs.os }}-
88
108
${{ inputs.qemu }}-
109
+ ${{ inputs.tag }}-
110
+ ${{ steps.gha-artifact-name.outputs.hash }}
89
111
path : ./wheelhouse/*.whl
90
112
91
113
...
Original file line number Diff line number Diff line change
1
+ Started building armv7l wheels -- by :user: `bdraco `.
Original file line number Diff line number Diff line change 12
12
apps
13
13
app’s
14
14
arg
15
+ armv
15
16
Arsenic
16
17
async
17
18
asyncio
You can’t perform that action at this time.
0 commit comments