FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-153631: Move to `macos-26` runner for iOS (GH-153632) by miss-islington · Pull Request #153673 · python/cpython · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .yml  (1) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -408,23 +408,14 @@ jobs:
needs: build-context
if: needs.build-context.outputs.run-ios == 'true'
timeout-minutes: 60
runs-on: macos-14
runs-on: macos-26
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

# GitHub recommends explicitly selecting the desired Xcode version:
# https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
# This became a necessity as a result of
# https://github.com/actions/runner-images/issues/12541 and
# https://github.com/actions/runner-images/issues/12751.
- name: Select Xcode version
run: |
sudo xcode-select --switch /Applications/Xcode_15.4.app

- name: Build and test
run: python3 Platforms/Apple ci iOS --fast-ci --simulator 'iPhone SE (3rd generation),OS=17.5'
run: python3 Platforms/Apple ci iOS --fast-ci

build-emscripten:
name: 'Emscripten'
Expand Down
8 changes: 7 additions & 1 deletion Platforms/Apple/testbed/__main__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,14 @@ def run_testbed(
update_test_plan(location, platform, args)
print(" done.")

# xcodebuild doesn't guarantee that the CoreSimulatorService daemon is
# running prior to using a simulator, but calling `xcrun simctl list` does.
# Determining the default simulator that *would* be used is a cheap action;
# so use that as a way to ensure that the CoreSimulatorService daemon is
# running.
default_simulator = select_simulator_device(platform)
if simulator is None:
simulator = select_simulator_device(platform)
simulator = default_simulator
print(f"Running test on {simulator}")

xcode_test(
Expand Down
Loading

Back | FazBrowse Home | New Git URL