hendrikmuhs / ccache-action

github action to speedup building using ccache
MIT License
118 stars 53 forks source link

Debug mode? #160

Open krlmlr opened 1 year ago

krlmlr commented 1 year ago

For debugging ccache misses, I'm currently doing something along the following lines:

  1. Enable debugging: https://github.com/krlmlr/duckdb-r/blob/ccache/.github/workflows/install/action.yml#L109-L110
  2. Store artifact: https://github.com/krlmlr/duckdb-r/blob/ccache/.github/workflows/R-CMD-check.yaml#L274-L278

Reference: https://interrupt.memfault.com/blog/ccache-debugging#2-identify-objects-that-are-missing-the-cache

Could this be an option debug: true in this action?

hendrikmuhs commented 1 year ago

sounds like a useful addition to me