]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Alos drop formatting job from the global jobs: 11033/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 26 Nov 2021 14:14:36 +0000 (15:14 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 26 Nov 2021 14:14:36 +0000 (15:14 +0100)
.circleci/config.yml

index c8801a239fde9b55b8b69a2d0e4ed1ca7c174373..2e6e4c15d8379d1f20f987a69f99ce9e6594f857 100644 (file)
@@ -525,38 +525,6 @@ jobs:
           paths:
             - project
 
-  check-formatting:
-    docker:
-      - image: debian:bullseye
-        auth:
-          username: powerdnsreadonly
-          password: $DOCKERHUB_PASSWORD
-    steps:
-      - run:
-          name: Install dependencies
-          command: |
-            apt-get update && apt-get -qq --no-install-recommends install git
-            apt-get -qq --no-install-recommends install clang-format-11
-      - get-workspace
-      - run:
-          name: Check formatting
-          command: |
-            ./build-scripts/format-code $(find . -type f -name '*.[ch][ch]' | sort | comm -23 - .not-formatted)
-            git --no-pager diff
-            exit $(git diff | wc -l)
-          working_directory: ~/project
-      - run:
-          name: Check Makefile.am SOURCES sort order
-          command: |
-            exitcode=0
-            for f in $(find . -type f -name 'Makefile.am'); do
-              ./build-scripts/test-sources-sorted.py ${f}
-              if [ $? -ne 0 ]; then
-                exitcode=1
-              fi
-            done
-            exit ${exitcode}
-
   build-auth:
     docker:
       - image: debian:buster