Repository navigation
ci(platform): 钉住 macOS 13 下限 + Intel(x86_64) 编译门禁 - #102
Merged
Merged
Conversation
本仓库是产品伞里的"逻辑层"代表产物:**有意钉在 macOS 13**,让卡在 Ventura 的 Intel Mac 仍能用 CLI(GUI `OrzMC.app` 要求 14,因为 `@Observable`)。 在此之前没人拦着把 `platforms:` 抬到 14、也没人验 Intel 切片能不能编。 新增 `platform` job(macos-15)三件事: 1. **声明下限必须是 13**:读 `Package.swift` 的 `.macOS(.v13)`,抬到 14 直接红; 2. **native 产物 minos ≤ 13**:`otool -l orzmc` 读 `LC_BUILD_VERSION` 的 `minos`; 3. **x86_64 能编**:`swift build --arch x86_64` + `lipo -archs` 断言含 `x86_64` (构建插件是 x86_64 可执行文件,所以先确保 Rosetta)。 README 补平台下限说明 + 指向父仓库 `docs/platform-support.md`。
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 13,让卡在 Ventura 的 Intel Mac 仍能用 CLI(GUI
OrzMC.app要求 14,因为@Observable)。此前没人拦着把platforms:抬到 14,也没人验 Intel 切片能不能编。新增
platformjob(macos-15)Package.swift的.macOS(.v13),抬到 14 直接红(并提示同步父仓库docs/platform-support.md)otool -l orzmc读LC_BUILD_VERSION的minos(实测本机 =13.0)swift build --arch x86_64+lipo -archs断言含x86_64(构建插件
swift-openapi-generator是 x86_64 可执行文件,所以 job 里先确保 Rosetta 2)README
补「平台下限(有意钉住,别抬)」:macOS 13 × arm64/x86_64,并指向父仓库
docs/platform-support.md(规则、证据、Intel 冒烟清单)。