]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: disable cppcheck for now
authorDaiki Ueno <ueno@gnu.org>
Wed, 11 Jan 2023 06:24:14 +0000 (15:24 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 11 Jan 2023 07:44:09 +0000 (16:44 +0900)
The current version of cppcheck hangs at the usage of Gnulib's
intprops module:
https://trac.cppcheck.net/ticket/10192

Signed-off-by: Daiki Ueno <ueno@gnu.org>
.gitlab-ci.yml

index 620fafc8eb2cab301462c27926225aa0dd61471b..abf9af147f7762a3fb2410a10615df2ee52e221e 100644 (file)
@@ -568,22 +568,25 @@ fedora-static-analyzers/build:
     - scan-build --status-bugs -o scan-build-lib make -j$BUILDJOBS -C src
   #TODO originally, after_script was set to "/bin/true".. is there a reason not to create the cache?
 
-fedora-static-analyzers/test:
-  extends:
-    - .test
-    - .fedora
-  dependencies:
-    - fedora-static-analyzers/build
-  needs:
-    - fedora-static-analyzers/build
-  cache:
-    paths:
-      - cache/cppcheck
-  script:
-    - mkdir -p cache/cppcheck
-    - cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilib/ -I. --error-exitcode=1 lib/ -i lib/unistring -i lib/minitasn1 -i lib/nettle/backport -i lib/nettle/ecc -j2 $CPPCHECK_OPTIONS
-    - cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilibdane/ -I. --error-exitcode=1 libdane/ -j2 $CPPCHECK_OPTIONS
-  timeout: 3h
+# FIXME: we disable this, as cppcheck currently hangs at the usage of
+# Gnulib's <intprops.h>: <https://trac.cppcheck.net/ticket/10192>.
+#
+# fedora-static-analyzers/test:
+#   extends:
+#     - .test
+#     - .fedora
+#   dependencies:
+#     - fedora-static-analyzers/build
+#   needs:
+#     - fedora-static-analyzers/build
+#   cache:
+#     paths:
+#       - cache/cppcheck
+#   script:
+#     - mkdir -p cache/cppcheck
+#     - cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilib/ -I. --error-exitcode=1 lib/ -i lib/unistring -i lib/minitasn1 -i lib/nettle/backport -i lib/nettle/ecc -j2 $CPPCHECK_OPTIONS
+#     - cppcheck --cppcheck-build-dir=cache/cppcheck --force -q -Ilib/includes -Igl/ -Ilibdane/ -I. --error-exitcode=1 libdane/ -j2 $CPPCHECK_OPTIONS
+#   timeout: 3h
 
 # TODO this does not work, so we keep using old job doc-dist.Fedora
 # Keeping it here until I figure it out.