celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/user/index.html
Other
62 stars 32 forks source link

Add spack-based workflow to add all supported Geant4 versions to CI #1149

Closed sethrj closed 5 months ago

sethrj commented 5 months ago

This adds a new github action for testing arbitrary combinations of dependencies, starting with all Geant4 versions. It uses a spack buildcache hosted at https://github.com/celeritas-project/spack-gha-buildcache to speed up builds. Because of build/configure/example errors, basically everything but 11.0 is failing at the moment, so I am labeling the jobs as "experimental" (allowed to fail) and will fix the relevant code in a follow-on PR (#1152).

sethrj commented 5 months ago

@drbenmorgan This is finally working 😅 and by working I'm including "demonstrating the existing failures of everything but Geant4@11.0". Immediately after this is merged I'll update #1152 to show that the builds are fixed.

sethrj commented 5 months ago

@drbenmorgan Correct, it shouldn't. I'm explicitly using the hash of the spack version and the installer fixed, and I'm even caching the concretization, so nothing should be rebuilt. The caching job is actually getting too big for the free github runners (see https://github.com/celeritas-project/spack-gha-buildcache/actions/runs/8304439200 ) so I may soon have to build the cache on a non-GHA system using docker.