]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop clang-format job
authorMichal Nowak <mnowak@isc.org>
Mon, 17 Mar 2025 14:50:26 +0000 (15:50 +0100)
committerMichal Nowak <mnowak@isc.org>
Wed, 19 Mar 2025 08:02:18 +0000 (08:02 +0000)
With updated Clang, the job won't pass. Reformating the code just for
the sake of the job seems futile.

.gitlab-ci.yml

index a4f60feabf15feabf1617bf21378d3dba8c4e1fc..d771896d22ebde41fd2fedb3431f9cb236064b65 100644 (file)
@@ -24,7 +24,6 @@ variables:
   SCAN_BUILD: "scan-build-${CLANG_VERSION}"
   LLVM_SYMBOLIZER: "/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer"
   ASAN_SYMBOLIZER_PATH: "/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer"
-  CLANG_FORMAT: "clang-format-${CLANG_VERSION}"
 
   CFLAGS_COMMON: -fno-omit-frame-pointer -fno-optimize-sibling-calls -O1 -g -Wall -Wextra
 
@@ -342,18 +341,6 @@ black:
     expire_in: "1 week"
     when: on_failure
 
-clang-format:
-  <<: *precheck_job
-  script:
-    - if [ -r .clang-format ]; then "${CLANG_FORMAT}" -i -style=file $(git ls-files '*.c' '*.h'); fi
-    - git diff > clang-format.patch
-    - if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi
-  artifacts:
-    paths:
-      - clang-format.patch
-    expire_in: "1 week"
-    when: on_failure
-
 coccinelle:
   <<: *precheck_job
   script: