MintonGroup / swiftest

Swiftest is a software packaged designed to model the long-term dynamical dynamics of n-body systems with a dominant central body, like the solar system.
https://swiftest.readthedocs.io/en/latest/
Other
4 stars 2 forks source link

Improve the robustness of the CI scripts #25

Closed profminton closed 6 months ago

profminton commented 6 months ago

Streamline some of the CI build scripts to reduce the number of unnecessary duplication (e.g. environment variables set in pyproject.toml as well as set_environment_linux.sh and set_environment_macos.sh.

profminton commented 6 months ago

Overhauled the build scripts used when calling cibuildwheel to make them more robust across the various platforms we build for. This includes a more robust and consistent way to obtain the paths to compilers that lets us select gfortran-13, gfortran-12, or gfortran as our compiler depending on the availability, which is useful for building in the GitHub runners.