File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -136,27 +136,26 @@ jobs:
136
136
- pre-setup # transitive, for accessing settings
137
137
strategy :
138
138
matrix :
139
- os :
140
- - ubuntu
141
- - windows
142
- - macos
139
+ runner-vm- os :
140
+ - ubuntu-latest
141
+ - windows-latest
142
+ - macos-latest
143
143
tag :
144
- - ' '
144
+ - manylinux
145
145
- ' musllinux'
146
146
exclude :
147
- - os : windows
147
+ - runner-vm- os : windows-latest
148
148
tag : ' musllinux'
149
- - os : macos
149
+ - runner-vm- os : macos-latest
150
150
tag : ' musllinux'
151
- - os : ubuntu
151
+ - runner-vm- os : ubuntu-latest
152
152
tag : >-
153
153
${{
154
154
(github.event_name != 'push' || !contains(github.ref, 'refs/tags/'))
155
155
&& 'musllinux' || 'none'
156
156
}}
157
157
uses : ./.github/workflows/reusable-cibuildwheel.yml
158
158
with :
159
- os : ${{ matrix.os }}
160
159
tag : ${{ matrix.tag }}
161
160
wheel-tags-to-skip : >-
162
161
${{
@@ -169,6 +168,7 @@ jobs:
169
168
|| (matrix.tag == 'musllinux') && '*-manylinux_* pp*'
170
169
|| '*-musllinux_* pp*'
171
170
}}
171
+ runner-vm-os : ${{ matrix.runner-vm-os }}
172
172
source-tarball-name : >-
173
173
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
174
174
dists-artifact-name : ${{ needs.pre-setup.outputs.dists-artifact-name }}
Original file line number Diff line number Diff line change 14
14
default : ' 0'
15
15
required : false
16
16
type : string
17
- os :
18
- description : VM OS to use, without version suffix
19
- default : ubuntu
20
- required : false
21
- type : string
22
17
qemu :
23
18
description : Emulated QEMU architecture
24
19
default : ' '
29
24
default : ' '
30
25
required : false
31
26
type : string
27
+ runner-vm-os :
28
+ description : VM OS to use
29
+ default : ubuntu-latest
30
+ required : false
31
+ type : string
32
32
source-tarball-name :
33
33
description : Sdist filename wildcard
34
34
required : true
48
48
49
49
build-wheel :
50
50
name : >-
51
- Build ${{ inputs.tag }} wheels on ${{ inputs.os }} ${{ inputs.qemu }}
52
- runs-on : ${{ inputs.os }}-latest
51
+ Build ${{ inputs.tag }} wheels on ${{ inputs.runner-vm- os }} ${{ inputs.qemu }}
52
+ runs-on : ${{ inputs.runner-vm- os }}
53
53
timeout-minutes : ${{ inputs.qemu && 60 || 20 }}
54
54
steps :
55
55
- name : Retrieve the project source from an sdist inside the GHA artifact
94
94
uses : actions/upload-artifact@v4
95
95
with :
96
96
name : ${{ inputs.dists-artifact-name }}-
97
- ${{ inputs.os }}-
97
+ ${{ inputs.runner-vm- os }}-
98
98
${{ inputs.qemu }}-
99
99
${{ inputs.tag }}
100
100
path : ./wheelhouse/*.whl
You can’t perform that action at this time.
0 commit comments