File tree Expand file tree Collapse file tree 2 files changed +17
-20
lines changed Expand file tree Collapse file tree 2 files changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -116,30 +116,29 @@ jobs:
116
116
- pre-setup # transitive, for accessing settings
117
117
strategy :
118
118
matrix :
119
- os :
120
- - ubuntu
121
- - windows
119
+ runner-vm- os :
120
+ - ubuntu-latest
121
+ - windows-latest
122
122
- windows-11-arm
123
- - macos
123
+ - macos-latest
124
124
tag :
125
125
- ' '
126
126
- ' musllinux'
127
127
exclude :
128
- - os : windows
128
+ - runner-vm- os : windows-latest
129
129
tag : ' musllinux'
130
- - os : windows-11-arm
130
+ - runner-vm- os : windows-11-arm
131
131
tag : ' musllinux'
132
- - os : macos
132
+ - runner-vm- os : macos-latest
133
133
tag : ' musllinux'
134
- - os : ubuntu
134
+ - runner-vm- os : ubuntu-latest
135
135
tag : >-
136
136
${{
137
137
(github.event_name != 'push' || github.ref_type != 'tag')
138
138
&& 'musllinux' || 'none'
139
139
}}
140
140
uses : ./.github/workflows/reusable-cibuildwheel.yml
141
141
with :
142
- os : ${{ matrix.os }}
143
142
tag : ${{ matrix.tag }}
144
143
wheel-tags-to-skip : >-
145
144
${{
@@ -152,6 +151,7 @@ jobs:
152
151
|| (matrix.tag == 'musllinux') && '*-manylinux_* pp*'
153
152
|| '*-musllinux_* pp*'
154
153
}}
154
+ runner-vm-os : ${{ matrix.runner-vm-os }}
155
155
source-tarball-name : >-
156
156
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
157
157
dists-artifact-name : ${{ needs.pre-setup.outputs.dists-artifact-name }}
Original file line number Diff line number Diff line change 9
9
description : Workflow artifact name containing dists
10
10
required : true
11
11
type : string
12
- os :
13
- description : VM OS to use, without version suffix
14
- default : ubuntu
15
- required : false
16
- type : string
17
12
qemu :
18
13
description : Emulated QEMU architecture
19
14
default : ' '
24
19
default : ' '
25
20
required : false
26
21
type : string
22
+ runner-vm-os :
23
+ description : VM OS to use
24
+ default : ubuntu-latest
25
+ required : false
26
+ type : string
27
27
source-tarball-name :
28
28
description : Sdist filename wildcard
29
29
required : true
43
43
44
44
build-wheel :
45
45
name : >-
46
- Build ${{ inputs.tag }} wheels on ${{ inputs.os }} ${{ inputs.qemu }}
47
- runs-on : ${{
48
- inputs.os == 'windows-11-arm' && inputs.os ||
49
- format('{0}-latest', inputs.os)
50
- }}
46
+ Build ${{ inputs.tag }} wheels on ${{ inputs.runner-vm-os }} ${{ inputs.qemu }}
47
+ runs-on : ${{ inputs.runner-vm-os }}
51
48
timeout-minutes : ${{ inputs.qemu && 120 || 15 }}
52
49
steps :
53
50
- name : Compute GHA artifact name ending
100
97
uses : actions/upload-artifact@v4
101
98
with :
102
99
name : ${{ inputs.dists-artifact-name }}-
103
- ${{ inputs.os }}-
100
+ ${{ inputs.runner-vm- os }}-
104
101
${{ inputs.qemu }}-
105
102
${{ inputs.tag }}-
106
103
${{ steps.gha-artifact-name.outputs.hash }}
You can’t perform that action at this time.
0 commit comments