cieslarmichal / faker-cxx

C++ Faker library for generating fake (but realistic) data.
https://cieslarmichal.github.io/faker-cxx/
MIT License
251 stars 102 forks source link

ci: Cache static-analysis clang-tidy build to save CI time #764

Open uilianries opened 3 days ago

uilianries commented 3 days ago

In order to run Clang tidy, we need first build the project. This operation cost time, usually 1 or 2 minutes, but will be higher as the project is bigger and bigger.

To save time, we could cache the build folder and re-use it on next PR execution, same as we have been used for mac, linux and windows build. The result should be only few seconds in a second rounds, only build changed files and linking library again.