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

Add Continuous Integration (CI) using GitHub actions #203

Merged
merged 8 commits into from
Apr 12, 2024

Commits on Mar 6, 2024

  1. Trigger automated build and test using GitHub Actions upon push and p…

    …ull request.
    
    Cache the conda environment to speed up the build across subsequent runs.
    Data files in tudat-resources are not cached. They are downloaded
    separately in an event of a cache hit.
    Failing tests in MacOS are temporarily ignored to let the workflow pass
    and the cache feature to be tested.
    niketagrawal committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    33a446c View commit details
    Browse the repository at this point in the history
  2. Use ccache to speed up the GitHub Actions workflow build process

    ccache works out of the box for the GNU compilers in Ubuntu and the
    Clang compiler in MacOS. The MSVC compilers require an extra
    configuration step which was added to the CMakeLists file.
    yiquintero committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    aee1c8a View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    c7628e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Merge pull request #202 from tudat-team/feature/add-ccache

    Feature/add ccache
    niketagrawal authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    5c4df5d View commit details
    Browse the repository at this point in the history
  2. Ignoring failed test in MacOS was for debugging purposes only.

    Rename the ccache step to describe what it does.
    Fix typo in referencing the matrix variable build type.
    niketagrawal committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    4582bfe View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. This step restores compiler cache form previous runs if available, el…

    …se proceeds with the build step. Caching of compilation results of the current run happens post completion of the build step.
    niketagrawal committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    db5d1e1 View commit details
    Browse the repository at this point in the history
  2. Avoid triggering two simultaneous CI workflows upon pushing commits t…

    …o a feature branch that is also a source in a pull request
    niketagrawal committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    b6b3f09 View commit details
    Browse the repository at this point in the history
  3. remove whitespace

    niketagrawal committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    4427349 View commit details
    Browse the repository at this point in the history