From d0eb866bcf526a2a775e8c14d3c397ae232d9974 Mon Sep 17 00:00:00 2001 From: jak1 Date: Fri, 21 May 2021 22:47:45 +0200 Subject: added lint stage (to prevent pipelines from running all trou in case any linting failes) --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9b3039f9..c0d1ec84d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ stages: + - lint - prebuild - build @@ -288,7 +289,7 @@ gcc-8_unittestsbin: libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev mplint: - stage: prebuild + stage: lint script: - ./tools/ci/jobs/mplint.sh src - ./tools/ci/jobs/mplint.sh po @@ -299,7 +300,7 @@ mplint: make autoconf automake autopoint gettext linters: - stage: prebuild + stage: lint script: - ./tools/ci/jobs/pngcheck.sh - ./tools/ci/jobs/imagemagiccheck.sh -- cgit v1.2.3-60-g2f50