macOS CI スモークテストの追加(gcc-wrapper + komega) - #187
Open
k-yoshimi wants to merge 2 commits into
Open
Conversation
Runs setup, tools/gcc-wrapper, and apps/komega (install, link, runtest) on macos-14. The macOS-specific pieces (Homebrew GCC detection, SDK workarounds) previously had no CI coverage at all. Fixes #180 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gcc --version alone could stay green via the runner's own compilers even if gcc-wrapper failed to create its symlinks. The job now fails unless command -v gcc/gfortran points inside the wrapper prefix. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Collaborator
Author
AI review cycle (Codex + Antigravity) 結果Phase 1 (Codex): must_fix 0 / should_fix 1。
Phase 2 (Antigravity): macOS チュートリアル(review1.rst)が gcc-wrapper 以前の → 両フェーズ収束。 |
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.
概要
Fixes #180
macos-14(Apple Silicon)ランナーで setup →tools/gcc-wrapper(install/link + gcc/gfortran 動作確認)→apps/komega(install/link/runtest)を実行する workflow.github/workflows/macos.ymlを追加します。トリガーは Ubuntu CI と同じ push / pull_request / 月 2 回の cron。macOS 固有の要素(Homebrew GCC の検出、Xcode SDK workaround、fix_dylib 系)はこれまで CI カバレッジがゼロで、直近の SDK 26 対応などはローカル検証頼みでした。まず最小のスモークテストを入れ、対象アプリは今後拡大する想定です。
検証
CI と同一の手順をローカルの macOS(Apple Silicon, Homebrew)で一時
MA_ROOTを使って通しで実行し、komega の runtest が Test Passed になることを確認済み。その際の知見を workflow に反映しています:wgetが無い →brew install wget(全 download.sh が wget 依存)open-mpiを入れると依存で Homebrew gcc も入り、gcc-wrapper の要求を満たすこの PR 自体の push で workflow が実行されるので、Actions の結果もあわせて確認してください。
🤖 Generated with Claude Code