CI: kernel: use ccache to speedup workflow
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Oct 2022 16:43:38 +0000 (18:43 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 4 Dec 2022 15:27:00 +0000 (16:27 +0100)
commit9718dffd27ea9c15d30958eafef593aab929b7e8
tree4701649afedf3a9f1a5b922b9455ff831906baca
parentc95622ac6ef071361d32a79d05e10a155f0f75c0
CI: kernel: use ccache to speedup workflow

Use ccache to speedup kernel compilation.
Ccache dir is cached across each build test. To refresh ccache directory
we generate an hash of the kernel include files, that includes the
kernel versions of every kernel supported and the kernel compile
includes.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 137ba15e6ef31534a2002a02e69b774232f0b040)
.github/workflows/kernel.yml