CI: kernel: use ccache to speedup workflow
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Oct 2022 16:43:38 +0000 (18:43 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 16:36:56 +0000 (17:36 +0100)
commit431875b3dfa117cdf051941ad9efc118bba77a44
treec163e297660c9c9e7e563de51b879f262117b79c
parent8bbaa486cb6b7e816dc6931bcb0946786568f1d6
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