CI: kernel: test each target with additional changes than target/linux
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 11 Jan 2023 15:24:37 +0000 (16:24 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 11 Jan 2023 16:46:53 +0000 (17:46 +0100)
commit57a02cbbff5bc1b9610437c4cedb2072f9647f00
treecd8df88fbebcc6b5167bfafcf17e4c3db13e8afe
parent3b669bc3f32f7594f38187a284a65ca2c35a0121
CI: kernel: test each target with additional changes than target/linux

Test each target if there are additional changes than target/linux.
This is needed to do wide test with changes to kmods, include/kernel and
changes to the workflow files.

While at it also cleanup and rework the code to drop duplication.
Also drop since_last_remote_commit to better track changes.

Fixes: 04ada8bc4118 ("CI: kernel: build only changed targets")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/kernel.yml