]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Lets move to bullseye which has more modern clang-format-11
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 3 Mar 2021 10:05:55 +0000 (11:05 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 3 Mar 2021 10:17:19 +0000 (11:17 +0100)
.circleci/config.yml
build-scripts/format-code

index 2a0a661474d7e104efcdc67eb782c3f7354a18c0..c43545f02ef45afb2c0ad4b156e70829dbb64c77 100644 (file)
@@ -531,7 +531,7 @@ jobs:
 
   check-formatting:
     docker:
-      - image: debian:buster
+      - image: debian:bullseye
         auth:
           username: powerdnsreadonly
           password: $DOCKERHUB_PASSWORD
@@ -539,9 +539,8 @@ jobs:
       - run:
           name: Install dependencies
           command: |
-            echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
             apt-get update && apt-get -qq --no-install-recommends install git
-            apt-get -qq -t buster-backports --no-install-recommends install clang-format-8
+            apt-get -qq --no-install-recommends install clang-format-11
       - get-workspace
       - run:
           name: Check formatting
index 870d793bedc4fdddcad4bb488d3963b5722c4383..62914f56480b3db4ed77b711d67f57fd6abdf559 100755 (executable)
@@ -28,7 +28,7 @@ if [ x$CIRCLECI = xtrue ]; then
     verbose=0
 fi
 
-FORMAT=clang-format-8
+FORMAT=clang-format-11
 if ! which $FORMAT 2> /dev/null; then
     FORMAT=clang-format
 fi