Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use older macOS version with Intel CPU because the OOMMF M1 conda pac… #528

Merged
merged 2 commits into from
May 9, 2024

Conversation

lang-m
Copy link
Member

@lang-m lang-m commented May 9, 2024

User description

…kage is still missing

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories


PR Type

enhancement, configuration changes


Description

  • Updated GitHub Actions CI workflow to use macos-13 instead of macos-latest due to compatibility issues with OOMMF M1 conda package on newer macOS versions.
  • Removed unnecessary setup for headless display to simplify the workflow.

Changes walkthrough 📝

Relevant files
Configuration changes
workflow.yml
Update macOS version and streamline CI workflow                   

.github/workflows/workflow.yml

  • Changed macOS version in CI from 'macos-latest' to 'macos-13' to avoid
    issues with missing OOMMF M1 conda package.
  • Removed setup for headless display in CI workflow.
  • +1/-4     

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    Copy link
    Contributor

    github-actions bot commented May 9, 2024

    PR Description updated to latest commit (6b1f0c8)

    Copy link
    Contributor

    github-actions bot commented May 9, 2024

    PR Review 🔍

    ⏱️ Estimated effort to review [1-5]

    2, because the changes are straightforward and limited to the CI configuration file, specifically updating the macOS version and removing a setup step. The impact of these changes is clear and localized.

    🧪 Relevant tests

    No

    ⚡ Possible issues

    Compatibility Issue: Changing the macOS version to 'macos-13' might introduce compatibility issues with other tools or dependencies not explicitly mentioned in the PR.

    🔒 Security concerns

    No

    Code feedback:
    relevant file.github/workflows/workflow.yml
    suggestion      

    Consider adding a fallback macOS version in the matrix to ensure compatibility for future macOS updates. This can be done by adding an additional entry to the os array, such as 'macos-12', to handle cases where 'macos-13' might not be available or compatible with certain tools in the future. [medium]

    relevant lineos: [ubuntu-latest, macos-13, windows-latest]

    Copy link
    Contributor

    github-actions bot commented May 9, 2024

    PR Code Suggestions ✨

    CategorySuggestions                                                                                                                                                       
    Enhancement
    Specify a more precise macOS version to ensure compatibility.

    Consider specifying a more specific macOS version instead of just 'macos-13' to ensure
    compatibility with Intel CPUs, as the PR title suggests issues with the M1 chip. For
    instance, use 'macos-13.2' if it is known to work well with the required software and
    hardware.

    .github/workflows/workflow.yml [20]

    -os: [ubuntu-latest, macos-13, windows-latest]
    +os: [ubuntu-latest, macos-13.2, windows-latest]
     

    @lang-m lang-m marked this pull request as ready for review May 9, 2024 08:24
    @lang-m lang-m enabled auto-merge May 9, 2024 08:24
    @lang-m lang-m disabled auto-merge May 9, 2024 09:31
    @lang-m lang-m merged commit 91b7dd5 into master May 9, 2024
    8 checks passed
    @lang-m lang-m deleted the no-apple-m1 branch May 9, 2024 09:31
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant