From bc8ee069d268a67c29822f6b2913ce165458e7e5 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 6 Sep 2020 22:12:23 +0200 Subject: [PATCH] gitlab-ci: defconfig_check is included in defconfig build When we build the defconfigs, we already check they are correct, so there is no need to run the correctness check explicitly. Signed-off-by: Yann E. MORIN Cc: Romain Naour Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Acked-by: Romain Naour Signed-off-by: Yann E. MORIN --- support/scripts/generate-gitlab-ci-yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/scripts/generate-gitlab-ci-yml b/support/scripts/generate-gitlab-ci-yml index ed56a516a7..23db376944 100755 --- a/support/scripts/generate-gitlab-ci-yml +++ b/support/scripts/generate-gitlab-ci-yml @@ -47,9 +47,10 @@ gen_defconfigs() { esac for cfg in "${defconfigs[@]}"; do - printf '%s_check: { extends: .defconfig_check }\n' "${cfg}" if ${build_defconfigs}; then printf '%s: { extends: .defconfig }\n' "${cfg}" + else + printf '%s_check: { extends: .defconfig_check }\n' "${cfg}" fi done } -- 2.30.2