use ccache for Linux gcc make CI builds#4411
use ccache for Linux gcc make CI builds#4411danmar merged 4 commits intocppcheck-opensource:mainfrom
ccache for Linux gcc make CI builds#4411Conversation
291e4cf to
3368a5a
Compare
9f41605 to
88b2826
Compare
ccache in more GitHub Actionsccache for Linux make CI builds
ccache for Linux make CI buildsccache for Linux gcc make CI builds
0f744b5 to
b3d9879
Compare
I use cmake with ccache with and without the matchcompiled files without a problem. Of course, I disable PCH though. |
Thanks for the insight. It works with CMake. It seems matchcompiled and PCH are causing different issues. As seen in #4426 files depending on precompiled are just not being cached (with the default settings). I will take a look at these soon as I don't want to disable precompiled completely in the CI and also not introduce yet another build job. |
CMake builds currently don't work with it - possibly related to the matchcompiled files.
Windows support isn't straight-forward.
Macos I haven't looked into yet.
Support for custom compilers (i.e. clang) I haven't look into either.