summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2021-04-07 19:55:56 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2021-04-08 15:40:49 +0200
commit9f11bcae20cae26d5d6983319fe9db7125e314c4 (patch)
treee1a2658262caf2d2045b4160ae2e56bc3add5acd /.gitlab-ci.yml
parent77ea21970b40ba6547cbada228904914a1ba2c11 (diff)
gitlab-ci: add scripts/checkpatch.pl
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e79f21ea719d..fef15bf02a2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@ variables:
TEMP_BUILD_FOLDER: /builds/temp-builds
stages:
+ - check-patch
- build-product
.build_base:
@@ -59,6 +60,14 @@ stages:
- set -o xtrace
- rm -rf $TEMP_BUILD_FOLDER
+check_patch:
+ stage: check-patch
+ script: .gitlab-ci.d/check-patch.py
+ variables:
+ GIT_STRATEGY: fetch
+ GIT_DEPTH: 1000
+ allow_failure: true
+
# If you need additional products build just copy-paste build_******_product section with new config name
build_default_defconfig :
extends: .build_base