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

CI improvements: add macOS runners; build in parallel; disable silent rules #1511

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Apr 25, 2024

  1. Disable silent rules in CI

    This makes it easier to confirm that the right flags are being passed to
    the compiler.
    ryandesign committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    8970953 View commit details
    Browse the repository at this point in the history
  2. Add macOS CI

    Also do CI testing on macOS 12, 13, and 14. Not using "macos-latest"
    because that currently refers to macOS 12 which is not the latest
    version. It is good to test on multiple versions and on multiple
    architectures. The macOS 12 and 13 runners are x86_64 while the macOS 14
    runner is arm64. This list can be updated annually as new macOS versions
    are released and old versions are removed from CI, or switched to
    "macos-latest" once that actually points to the latest version again.
    
    Do not fail fast; this ensures that a build failure on one runner does
    not cancel the other runners so that temporarily expected failures on
    one runner do not mask unexpected failures on other runners.
    
    Use Homebrew (pre-installed on macOS runners) to install dependencies
    for macOS.
    
    Explicitly mention dependencies that are used, like autoconf, automake,
    and libtool, even if they are in the set of dependencies already
    pre-installed on the runners, because who knows if that will always be
    the case.
    
    Fixes opencog#1496
    ryandesign committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    6537f9e View commit details
    Browse the repository at this point in the history
  3. Build and test in parallel in CI

    Build and test in parallel with as many jobs as we have been allocated
    CPU cores. This should make CI runs faster and provide visibility to
    parallel build problems.
    ryandesign committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    e7a90f9 View commit details
    Browse the repository at this point in the history