ci: let static checks don't depend on build

Build is a time consumable operation, skip build while let
ci run faster.

Fixes: #5777

Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
Bin Liu
2022-11-28 14:27:03 +08:00
parent f02bb1a9cb
commit e723bad0af
12 changed files with 31 additions and 2 deletions

View File

@@ -39,6 +39,9 @@ $(2) : $(1)/$(2)/Makefile
make -C $(1)/$(2)
build-$(2) : $(2)
static-checks-build-$(2):
make -C $(1)/$(2) static-checks-build
check-$(2) : $(2)
make -C $(1)/$(2) check