Skip to content

Commit fd57d5f

Browse files
Switched to clang-format-15 in CircuitCI
1 parent 4ef0bb3 commit fd57d5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
command: |
1414
set -o xtrace
1515
curl -sSL "http://apt.llvm.org/llvm-snapshot.gpg.key" | sudo -E apt-key add -
16-
echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main" | sudo tee -a /etc/apt/sources.list > /dev/null
16+
echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-15 main" | sudo tee -a /etc/apt/sources.list > /dev/null
1717
sudo -E apt-get -yq update >> ~/apt-get-update.log 2>&1
18-
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install clang-format-10
19-
git diff -U0 --no-color HEAD^1 *.c *.cc *.cpp *.h *.hpp *.i *.ic *.ih | clang-format-diff-10 -style=file -p1 >_GIT_DIFF
18+
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install clang-format-15
19+
git diff -U0 --no-color HEAD^1 *.c *.cc *.cpp *.h *.hpp *.i *.ic *.ih | clang-format-diff-15 -style=file -p1 >_GIT_DIFF
2020
if [ ! -s _GIT_DIFF ]; then
2121
echo The last git commit is clang-formatted;
2222
else

0 commit comments

Comments
 (0)