Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Actions CI with custom development container and compilation caching #67

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

andriish
Copy link

@andriish andriish commented Mar 13, 2024

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 andriish mentioned this pull request Mar 13, 2024
@andriish
Copy link
Author

Added @drbenmorgan and @gcosmo as collaborators to my fork, so you can see the output of Actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant