ZimmermanGroup / SlaterGPU

Other
6 stars 3 forks source link

Add cmake test of compilation and basic usage #5

Open joshkamm opened 2 months ago

joshkamm commented 2 months ago

See https://cmake.org/cmake/help/latest/guide/tutorial/Installing%20and%20Testing.html#exercise-2-testing-support

The goal is to make it easier to test whether changes break the compilation or basic functionality. Once there is a test that can easily be run with ctest, this could be automated with github actions.

Notes: as of the creation of this issue, SGPU_update would be the logical choice for a base branch for adding this. Update: I merged in the nate branch on 7/4.