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 basic CI using GitHub Actions #132

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Add basic CI using GitHub Actions #132

merged 1 commit into from
Sep 6, 2023

Conversation

mwarusz
Copy link
Member

@mwarusz mwarusz commented Aug 24, 2023

This PR adds basic CI for PAM using GitHub Actions.

The CI currently does three checks:

  • builds and runs PAM-C unit tests.
  • builds (but not runs) PAM-C idealized solvers for different combinations of models, hamiltonians, and thermodynamics.
  • builds and runs PAM-C and PAM-A mmf_simplified driver for two GCM time steps with YAKL_DEBUG turned on.

All of this is tested on Ubuntu with both GCC and Clang and on MacOS with Clang, except for PAM-C compilation tests
which are done only on Ubuntu using GCC to avoid creating too many jobs.

This is very bare-bones, but I think it is a decent start. Notably, there are no tests with CXX physics. Suggestions for
more and better tests are very welcome.

@mwarusz mwarusz merged commit 646d082 into master Sep 6, 2023
32 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.

1 participant