Skip to content

Conversation

@dcodoni
Copy link
Contributor

@dcodoni dcodoni commented Aug 26, 2025

Updating CMake file to fetch the correct version of MacOS (address #426 )

Current situation

The new macOS runner image on GitHub Actions no longer provides the current macOS version in a way that current CMake file expect. As a result, builds on macos-latest fail at the configuration stage due to the simvascular_get_major_minor_version macro receiving an empty value.

Release Notes

SimVascularSystemSetup.cmake file has been updated to explicitly query the current macOS version using the system command sw_vers -productVersion. This ensures that the major and minor macOS version numbers are correctly detected during configuration, allowing builds on GitHub Actions macOS runners to succeed.

Documentation

No documentation needed.

Testing

No need for test.

Code of Conduct & Contributing Guidelines

…version if it is not defined or empty string
@dcodoni dcodoni requested a review from ktbolt August 26, 2025 23:54
@codecov
Copy link

codecov bot commented Aug 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.88%. Comparing base (1a27c43) to head (4f29d30).
⚠️ Report is 29 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #425      +/-   ##
==========================================
+ Coverage   65.65%   65.88%   +0.23%     
==========================================
  Files         114      163      +49     
  Lines       29416    31822    +2406     
  Branches        0     5202    +5202     
==========================================
+ Hits        19312    20967    +1655     
- Misses      10104    10717     +613     
- Partials        0      138     +138     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@ktbolt ktbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good !

@ktbolt ktbolt merged commit c82c586 into SimVascular:main Aug 28, 2025
6 of 8 checks passed
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.

2 participants