summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-05-10 21:45:26 +0000
committerFedja Beader <fedja@protonmail.ch>2024-05-10 21:45:26 +0000
commit46aed0c6b9be60355d89b4a9cf264f45290986b7 (patch)
tree0d0902891c2858fe492187069664acbb838c0479 /.gitlab-ci.yml
parentdd1627eb548a7705f749d2e8529207e6123e5e2e (diff)
downloadplus-46aed0c6b9be60355d89b4a9cf264f45290986b7.tar.gz
plus-46aed0c6b9be60355d89b4a9cf264f45290986b7.tar.bz2
plus-46aed0c6b9be60355d89b4a9cf264f45290986b7.tar.xz
plus-46aed0c6b9be60355d89b4a9cf264f45290986b7.zip
Download mplint release instead of recompiling every time
Saves 1min10s by not compiling and another 15s by moving it together with linters. Squashed with: * Make sure mplint internal error or failure to run is detected * Make mplint breaking cause job to fail * Move linters out of lightweight.. goes faster, 3m46s -> 1m45s * Make script fail if any command returns nonzero or if any variable is unset. * Donwload mplint instead of building it **** mana/plus!80
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 6 insertions, 10 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 116bceed0..f7b8e107c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -327,30 +327,26 @@ gcc-8_unittestsbin:
tags:
- docker
-mplint:
- stage: lint
- script:
- - ./tools/ci/jobs/mplint.sh src po data
- <<: *job-push
- variables:
- PACKAGES: gcc g++ git
- make autoconf automake autopoint gettext
tags:
- docker
+
linters:
stage: lint
image: debian:buster
script:
+ - ./tools/ci/jobs/mplint.sh src po data
- ./tools/ci/jobs/pngcheck.sh
- ./tools/ci/jobs/imagemagiccheck.sh
- ./tools/ci/jobs/cpplint.sh
- ./tools/ci/jobs/nsiqcppstyle.sh
<<: *job-push
variables:
- PACKAGES: python wget pngcheck imagemagick git grep
+ MPLINT_PACKAGE_URL: "$CI_API_V4_URL/projects/mana%2Fmplint/jobs/artifacts/master/download?job=package_debian10_buster"
+ PACKAGES: git grep imagemagick pngcheck python unzip wget
tags:
- - lightweight
+ - docker
+
gcc-5_h_all:
stage: prebuild