Infra: move iOS/Mac Catalyst sample CI jobs from macos-15 to macos-26
維護者通常 1 天內回覆
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
研究方向
Read the three named workflows: build-samples-todoapp-maui.yml, build-samples-todoapp-avalonia.yml, and build-samples-todoapp-uno.yml. Update their runner settings and explanatory comments, then dispatch build-samples.yml on a fork to check that the iOS and Mac Catalyst jobs acquire runners and pass. The issue also links open PR #626, so check its status before starting.
由索引模型根據 Issue 內容生成。
描述
Summary
Move the macOS jobs in the sample build workflows from macos-15 to macos-26, and re-evaluate the iOS workload / Xcode pins that exist only because of macos-15.
Background
- While validating #617 (PR #621), three jobs in the
Build Samplesworkflow never started:todoapp-maui / ios,todoapp-avalonia / iosandtodoapp-uno / ios-maccatalyst. GitHub reportedThe job was not acquired by Runner of type hosted even after multiple attempts, with the annotationDue to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.A rerun of the failed jobs hit the same error. See run 42231478149. - The runner-images macOS directory lists
macos-26as the newest generally available image (macOS 26.6.2) and a separatexcode-27-arm64image (macOS 27, Xcode 27 public preview). - Newer images are likely, but not guaranteed, to have more spare runner capacity than
macos-15. GitHub does not publish pool sizes, so this needs to be confirmed empirically.
Why the current setup is constrained by macos-15
The three iOS jobs (build-samples-todoapp-maui.yml, build-samples-todoapp-avalonia.yml, build-samples-todoapp-uno.yml) all use runs-on: macos-15 and carry workarounds from #529 and #559:
WorkloadSetVersion: '10.0.107', pinned because newer sets (10.0.108+) need the iOS SDK 26.5 pack, which requires Xcode 26.5.RequiredXcodeVersion: '26.3'plus asudo xcode-select -sstep, because themacos-15default Xcode is 16.4 and its newest Xcode is 26.3.
The macos-26 image (20261026.0455.2) installs Xcode 26.0.1, 26.1.1, 26.2, 26.3, 26.4.1, 26.5 and 26.6 (default). Xcode 26.5 is the version that #529 and #559 found missing, so the workload-set pin may no longer be needed.
Proposed change
- Change
runs-on: macos-15toruns-on: macos-26in the three workflows above. - Update the explanatory comments, which currently refer to
macos-latestmigrating and tomacos-15. - Decide on the workload / Xcode strategy:
- Minimal: keep
WorkloadSetVersion: '10.0.107'andRequiredXcodeVersion: '26.3'(Xcode 26.3 is still installed onmacos-26). This only changes the runner. - Follow-up: remove the
10.0.107pin and select Xcode 26.5 or newer, so CI tracks the current .NET iOS SDK pack. Do this only if the iOS builds still pass.
- Minimal: keep
- Dispatch
build-samples.ymlon the fork and confirm that theiosandios-maccatalystjobs start (acquire a runner) and pass.
Out of scope
- Xcode 27 / the
xcode-27-arm64image. It is a public preview and is not yet a standardruns-onlabel. Revisit once it is generally available. - Linux and Windows runner changes (Ubuntu was handled in #612).
Acceptance criteria
- No
macos-15references remain in.github/workflows/. Build Samplespasses on the fork, including the iOS and Mac Catalyst jobs.- Comments in the workflows accurately describe the runner and Xcode choices.
Risks
macos-26may have its own capacity constraints; this is not known until tried.- The default Xcode, the OpenSSL default (3 to 4, see runner-images#14856) and tool versions differ from
macos-15; the iOS builds should be re-verified.
- 主要語言
- C#
- 星號
- 184
- 分支
- 48
- 平均合併
- 12 分鐘
- 30 天內合併 PR
- 21
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommunityToolkit/Datasync 的其他 Issue
-
Examples
難度 4/5 3-5 天 新手友好度 48/100
CommunityToolkit/Datasync#628 ·
維護者通常 1 天內回覆
-
Infrastructure
難度 3/5 1-2 天 新手友好度 57/100
CommunityToolkit/Datasync#627 ·
維護者通常 1 天內回覆
-
dependencies Infrastructure
難度 1/5 1 小時以內 新手友好度 25/100
CommunityToolkit/Datasync#618 ·
維護者通常 1 天內回覆
-
Blocked dependencies Infrastructure
難度 3/5 1-2 天 新手友好度 58/100
CommunityToolkit/Datasync#610 ·
維護者通常 1 天內回覆
-
Blocked dependencies Server
難度 4/5 3-5 天 新手友好度 25/100
CommunityToolkit/Datasync#594 ·
維護者通常 1 天內回覆
查看 CommunityToolkit/Datasync 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
NethermindEth/nethermind#15684 ·
維護者通常 1 天內回覆
-
area/ai-assistant squad/flyt
難度 2/5 1-3 小時 新手友好度 83/100
Altinn/altinn-studio#21798 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
arastella625/DAORework#181 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
BEagle1984/silverback#280 ·
-
bug P1
難度 2/5 1-3 小時 新手友好度 76/100
endercodezz/BYDLO#417 ·
維護者通常 1 天內回覆