geant4
geant4 copied to clipboard
Add Actions CI with custom development container and compilation caching
The CI logic:
-
Runs in its own container based on 'almalinux:9'
- The container is rebuild automatically if the docker file is updated and on schedule to capture the updates Otherwise the existing container is used and the first stage of the build lasts less than 10 seconds.
- The dependencies in the container are installed from the standard repositories + HEPRPMs, so it takes less than 5 minutes to rebuild the container.
-
The build is performed using caching with 'ccache'. So it takes ~ 1 minute to perform a build without changes.
-
Please note: it makes sense to update the paths to the container before the merge.
@drbenmorgan @gcosmo