CI: kernel: build only changed targets
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 10 Jan 2023 22:20:07 +0000 (23:20 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 11 Jan 2023 13:28:41 +0000 (14:28 +0100)
commit04ada8bc4118b390cceca9dc67e7a593f7dc77b0
tree69bd75ba19ff92423972879113ac014abd897775
parent895f38ca1efeb46f0cd3029c732e6156d4589eb0
CI: kernel: build only changed targets

Detect changes in commit and build only changed targets.
If a change is related to the generic target, build test each target.

The matrix json is split. For target check patch only the first
subtarget is selected, for build test each target subtarget is built.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/kernel.yml