84
84
echo "XZ_VERSION=${XZ_VERSION}" | tee -a ${GITHUB_OUTPUT}
85
85
86
86
build :
87
- runs-on : macOS-latest
87
+ runs-on : macOS-15
88
88
needs : [ config ]
89
89
strategy :
90
90
fail-fast : false
94
94
steps :
95
95
- uses : actions/checkout@v5
96
96
97
+ - name : Set up Xcode
98
+ # GitHub recommends explicitly selecting the desired Xcode version:
99
+ # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
100
+ # This became a necessity as a result of
101
+ # https://github.com/actions/runner-images/issues/12541 and
102
+ # https://github.com/actions/runner-images/issues/12751.
103
+ run : |
104
+ sudo xcode-select --switch /Applications/Xcode_16.4.app
105
+
97
106
- name : Set up Python
98
107
99
108
with :
@@ -117,7 +126,7 @@ jobs:
117
126
118
127
briefcase-testbed :
119
128
name : Briefcase testbed (${{ matrix.platform }})
120
- runs-on : macOS-latest
129
+ runs-on : macOS-15
121
130
needs : [ config, build ]
122
131
strategy :
123
132
fail-fast : false
@@ -127,11 +136,20 @@ jobs:
127
136
- briefcase-run-args :
128
137
129
138
- platform : iOS
130
- briefcase-run-args : ' -d "iPhone SE (3rd generation) "'
139
+ briefcase-run-args : ' -d "iPhone 16e"::iOS 18.5 "'
131
140
132
141
steps :
133
142
- uses : actions/checkout@v5
134
143
144
+ - name : Set up Xcode
145
+ # GitHub recommends explicitly selecting the desired Xcode version:
146
+ # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
147
+ # This became a necessity as a result of
148
+ # https://github.com/actions/runner-images/issues/12541 and
149
+ # https://github.com/actions/runner-images/issues/12751.
150
+ run : |
151
+ sudo xcode-select --switch /Applications/Xcode_16.4.app
152
+
135
153
- name : Get build artifact
136
154
137
155
with :
@@ -160,22 +178,34 @@ jobs:
160
178
python -m pip install git+https://github.com/beeware/briefcase.git
161
179
162
180
- name : Run support testbed check
163
- timeout-minutes : 10
181
+ timeout-minutes : 15
164
182
working-directory : Python-support-testbed
165
183
run : briefcase run ${{ matrix.platform }} Xcode --test ${{ matrix.briefcase-run-args }} -C support_package=\'../dist/Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.platform }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz\'
166
184
167
185
cpython-testbed :
168
186
name : CPython testbed (${{ matrix.platform }})
169
- runs-on : macOS-latest
187
+ runs-on : macOS-15
170
188
needs : [ config, build ]
171
189
strategy :
172
190
fail-fast : false
173
191
matrix :
174
192
platform : ["iOS", "visionOS"]
193
+ include :
194
+ - platform : " iOS"
195
+ testbed-args : ' --simulator "iPhone 16e,arch=arm64,OS=18.5"'
175
196
176
197
steps :
177
198
- uses : actions/checkout@v5
178
199
200
+ - name : Set up Xcode
201
+ # GitHub recommends explicitly selecting the desired Xcode version:
202
+ # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
203
+ # This became a necessity as a result of
204
+ # https://github.com/actions/runner-images/issues/12541 and
205
+ # https://github.com/actions/runner-images/issues/12751.
206
+ run : |
207
+ sudo xcode-select --switch /Applications/Xcode_16.4.app
208
+
179
209
- name : Get build artifact
180
210
181
211
with :
@@ -200,7 +230,7 @@ jobs:
200
230
tar zxvf ../../../dist/Python-${{ needs.config.outputs.PYTHON_VER }}-${{ matrix.platform }}-support.${{ needs.config.outputs.BUILD_NUMBER }}.tar.gz
201
231
202
232
- name : Run CPython testbed
203
- timeout-minutes : 10
233
+ timeout-minutes : 15
204
234
working-directory : support/${{ needs.config.outputs.PYTHON_VER }}/${{ matrix.platform }}
205
235
run : |
206
236
# Run a representative subset of CPython core tests:
@@ -209,7 +239,7 @@ jobs:
209
239
# - test_os as a test of system library calls
210
240
# - test_bz2 as a simple test of third party libraries
211
241
# - test_ctypes as a test of FFI
212
- python -m testbed run -- test --single-process --rerun -W test_builtin test_grammar test_os test_bz2 test_ctypes
242
+ python -m testbed run ${{ matrix.testbed-args }} -- test --single-process --rerun -W test_builtin test_grammar test_os test_bz2 test_ctypes
213
243
214
244
crossenv-test :
215
245
name : Cross-platform env test (${{ matrix.multiarch }})
0 commit comments