Skip to content

ci: run macOS tests on native architectures - #328

Closed
sgt57 wants to merge 1 commit into
Project-LemonLime:masterfrom
sgt57:ci/macos-native-arch-tests
Closed

sgt57 wants to merge 1 commit into
Project-LemonLime:masterfrom
sgt57:ci/macos-native-arch-tests

Conversation

@sgt57

@sgt57 sgt57 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

问题

现有 macOS CI 在 macos-latest 上同时构建并测试 x86_64 和 ARM64,但该 runner 当前为 ARM64。x86_64 程序通过 Rosetta 运行,其启动的编译器卡在翻译阶段,导致集成测试报提交编译超时。

此外,原有 Run tests 步骤被 if: ${{ false }} 禁用,无法验证 macOS 测试结果。

修改

  • x86_64 构建及测试使用原生 macos-26-intel。
  • ARM64 构建及测试继续使用 macos-latest。
  • 删除测试步骤的禁用条件,恢复完整 CTest。

验证

https://github.com/sgt57/Project_LemonLime/actions/runs/42346758723

@sgt57

sgt57 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

Included in #331.

@sgt57 sgt57 closed this Nov 8, 2026
@sgt57
sgt57 deleted the ci/macos-native-arch-tests branch November 27, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant