geant4 icon indicating copy to clipboard operation
geant4 copied to clipboard

Add Actions CI with custom development container and compilation caching

Open andriish opened this issue 3 months ago • 1 comments

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

andriish avatar Mar 13 '24 06:03 andriish