Closed okBrian closed 2 weeks ago
hmm. do you want to prepend the existing paths instead of replacing them?
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib
to
export CPATH="/opt/homebrew/include":$CPATH
This might fix the debug issue.
(I may be messing up the exact syntax).
There's also the "recommendations" here:
https://apple.stackexchange.com/questions/40704/homebrew-installed-libraries-how-do-i-use-them
I did some more experimentation here's what I figured out.
Heres the branch I tested everything on https://github.com/okBrian/MFC/tree/mac
So I think the best course of action here is to merge these changes and wait for the next release of MacOS images (20240611.1) to release and the MacOS CI should be fixed.
I did some more experimentation here's what I figured out.
- mpich is not the issue
- gcc 13.3 doesn't build with my changes at all
gcc 14 builds correctly with my changes but requires the pre-release: 20240611.1 MacOS image
- There is no current support in changing or choosing a pre-release image
- gcc 14 doesn't build w/o my changes
- brew auto links libraries with brew link and unlink so its unlikely that's the cause Heres the branch I tested everything on okBrian/MFC@
mac
This is all very believable to me. I guess this is a draft PR to be merged when the MacOS runner is updated? Do we have an approximate known date for that? What about --debug
? Are we able to manually specify a pre-release MacOS image?
--debug and no-debug have no affect on the results since --no-debug worked on my actions and debug worked on this repo. I also tested this in my mac branch. The only difference between the test that failed and passed I could find was the MacOS Image.
Understood. Do we have timeline for new MacOS image or how to specify it?
From what I searched you can't switch to a pre-release image specifically. For the release data/timeline I'll make a post here https://github.com/actions/runner-images/discussions since I can't find it anywhere.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 57.91%. Comparing base (
596ef8b
) to head (7916e18
).:exclamation: Current head 7916e18 differs from pull request most recent head da313e0
Please upload reports for the commit da313e0 to get more accurate results.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Before I asked in discussion I just read a bit more in their README. "Usually, image deployment takes 2-3 days, and documentation in the main branch is only updated when deployment is finished." The 20240611.1 has the tag "Deploying" in their README so I think in 2-3 days it should be up and running over the previous image.
Hey, the MacOS Image is fully deployed so assuming the test pass this should be it. Seen here - https://github.com/actions/runner-images/blob/main/README.md
Description
Fixed the MacOS CI specifically with the no-debug flag Unsure whats wrong with the debug one
Fixes #444
Type of change
Scope
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
How Has This Been Tested?
Test Configuration:
GitHub Runners
Checklist
./mfc.sh format
before committing my code