]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
limit jobs when debugging cppcheck
authorMark Andrews <marka@isc.org>
Thu, 30 Jan 2020 07:41:50 +0000 (18:41 +1100)
committerMark Andrews <marka@isc.org>
Thu, 30 Jan 2020 07:41:50 +0000 (18:41 +1100)
.gitlab-ci.yml

index 295e8ca72bcbf67644112d04132ca0a93ccf6ae4..b3335a9c0f404484399e494b3c5fc2c643e90ceb 100644 (file)
@@ -29,6 +29,9 @@ variables:
   TARBALL_COMPRESSOR: xz
   TARBALL_EXTENSION: xz
 
+  # limit jobs when debugging cppcheck
+  DEBUG_CPPCHECK: 1
+
 stages:
   - precheck
   - build
@@ -209,6 +212,8 @@ stages:
   artifacts:
     untracked: true
     expire_in: "1 day"
+  except:
+    variable: $DEBUG_CPPCHECK == 1
 
 .windows_build: &windows_build_job
   stage: build
@@ -646,6 +651,7 @@ gcc:sid:amd64:
     EXTRA_CONFIGURE: "--enable-dnstap --with-libidn2"
     RUN_MAKE_INSTALL: 1
     MAKE: bear make
+    DEBUG_CPPCHECK: 0
   <<: *debian_sid_amd64_image
   <<: *build_job