Explorar o código

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 <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yann E. MORIN %!s(int64=4) %!d(string=hai) anos
pai
achega
bc8ee069d2
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      support/scripts/generate-gitlab-ci-yml

+ 2 - 1
support/scripts/generate-gitlab-ci-yml

@@ -47,9 +47,10 @@ gen_defconfigs() {
     esac
     esac
 
 
     for cfg in "${defconfigs[@]}"; do
     for cfg in "${defconfigs[@]}"; do
-        printf '%s_check: { extends: .defconfig_check }\n' "${cfg}"
         if ${build_defconfigs}; then
         if ${build_defconfigs}; then
             printf '%s: { extends: .defconfig }\n' "${cfg}"
             printf '%s: { extends: .defconfig }\n' "${cfg}"
+        else
+            printf '%s_check: { extends: .defconfig_check }\n' "${cfg}"
         fi
         fi
     done
     done
 }
 }