parsec icon indicating copy to clipboard operation
parsec copied to clipboard

Refactored CI

Open G-Ragghianti opened this issue 1 year ago • 1 comments

This is a refactoring of the current CI jobs such that the jobs no longer rely on building the dependencies using spack. The script instead load the dependencies from a pre-built spack environment. This should decrease the failure rate of the CI jobs due to dependency building issues.

G-Ragghianti avatar Sep 03 '24 22:09 G-Ragghianti

After thinking more about the issue of hard-coding the path to the spack install, I've decided that we can require that the environment variable be defined by the compute environment itself (the computer that is actually running the CI scripts). Therefore, I would add an environment variable to the CI runner that the scripts would expect to have already defined. If it isn't defined, it will exit with an informative message. The use can then define the variable in order to run the CI scripts in other environments.

G-Ragghianti avatar Sep 24 '24 16:09 G-Ragghianti