AMReX-Astro / Castro

Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
http://amrex-astro.github.io/Castro
Other
299 stars 97 forks source link

Enforce clang-tidy via CI #2802

Closed zingale closed 6 months ago

zingale commented 6 months ago

PR summary

This sets up a new action for running clang-tidy 17 and it will abort if it produces any warnings. At the moment, it runs on flame_wave and only evaluates the Castro source, not any AMReX or Microphysics source.

We use the dependency script from AMReX to install clang-tidy 17

PR motivation

PR checklist