Repository navigation
fix(ci): 避开 macOS ARM64 runner 容量故障,保留手动原生 ARM64 构建 - #3
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
主分支的 macOS 作业因 GitHub 托管 ARM64 runner 无法分配而取消:
The job was not acquired by Runner of type hosted even after multiple attempts,作业没有开始执行任何步骤。Windows/Linux 已正常完成,问题发生在 runner 调度阶段。默认 PR、push、tag 的 macOS CI 和打包改用标准
macos-15-intel,生成apeiron-macos-x86_64。这改变了默认 macOS 包的架构,Apple Silicon 用户使用该包需要 Rosetta 2。CI 和 Build 都增加
Run workflow → macos_arch选择,默认x86_64,选择arm64时使用macos-15并生成apeiron-macos-arm64。原生 ARM64 手动任务仍受 GitHub ARM64 容量限制。Build 显式选择 Python 架构,编译前校验实际架构,确保产物命名正确。现有成品自检继续保留。同步修正 BUILDING.md 中已过时的打包路径和原生扩展说明,并记录默认架构及手动构建方式。
验证:Actionlint 1.7.12 检查两个 workflow 无错误;YAML、输入默认值、本地架构校验及
git diff --check通过。apeiron-macos-x86_64,解释器架构检查在 runner 上通过。原生 ARM64 手动选项已配置并通过工作流静态检查,本次未运行 ARM64 打包。官方 runner 标签:https://docs.github.com/en/actions/reference/runners/github-hosted-runners