csdms / bmi-fortran

Basic Model Interface for Fortran
https://bmi.csdms.io
MIT License
6 stars 10 forks source link

Update build and CI #48

Closed mdpiper closed 1 year ago

mdpiper commented 1 year ago

This PR updates the CI to use micromamba instead of miniconda. It also makes two adjustments to the CMake build system: first, trivially moving the location of a statement to avert a warning message; second, updating the minimum required CMake version to avert this warning:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

I chose to update the minimum version to v3.12: it was released about 5 years before today, and it's >v3.5.