Skip to content

Commit d50e347

Browse files
committed
Specifically enable Xcode 16.4; and add debug handler.
1 parent dc68cd6 commit d50e347

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,15 @@ jobs:
205205
path: dist
206206
merge-multiple: true
207207

208+
- name: Set up Xcode
209+
# GitHub recommends explicitly selecting the desired Xcode version:
210+
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
211+
# This became a necessity as a result of
212+
# https://github.com/actions/runner-images/issues/12541 and
213+
# https://github.com/actions/runner-images/issues/12751.
214+
run: |
215+
sudo xcode-select --switch /Applications/Xcode_16.4.app
216+
208217
- name: Set up Python
209218
uses: actions/[email protected]
210219
with:
@@ -233,6 +242,14 @@ jobs:
233242
# - test_ctypes as a test of FFI
234243
python -m testbed run --verbose ${{ matrix.testbed-args }} -- test --single-process --rerun -W test_builtin test_grammar test_os test_bz2 test_ctypes
235244
245+
# This step is only needed if you're trying to diagnose test failures that
246+
# only occur in CI, and can't be reproduced locally. When it runs, it will
247+
# open an SSH server (URL reported in the logs) so you can ssh into the CI
248+
# machine.
249+
- name: Setup tmate session
250+
uses: mxschmitt/action-tmate@v3
251+
if: failure()
252+
236253
crossenv-test:
237254
name: Cross-platform env test (${{ matrix.multiarch }})
238255
runs-on: macOS-latest

0 commit comments

Comments
 (0)