cda-group / arc

Programming Language for Continuous Deep Analytics
https://cda-group.github.io/arc/
44 stars 6 forks source link

build-system: End CI runs with a report on cache usage #295

Closed frej closed 3 years ago

frej commented 3 years ago

Dump Sccache and Ccache statistics at the end of the CI run.

segeljakt commented 3 years ago

One thing I'm wondering, the environment variables inside the script are only set in the CI. For example PERSIST_DIR. The script is very useful for reproducing errors locally. What do you think about making it so the variables have a default value, maybe relative to $A2M_BUILD so we can run the script outside of CI without having to set them ourselves?

frej commented 3 years ago

What do you think about making it so the variables have a default value, maybe relative to $A2M_BUILD so we can run the script outside of CI without having to set them ourselves?

That could be useful, I can do it in another PR.