File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ jobs:
5555
5656 # Default of ubuntu and apt packages are too old compared to macos packages.
5757 # This is required for using a newer version of clang-format.
58- - name : Install LLVM 20
58+ - name : Setup clang-format V20
5959 run : |
6060 sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" 20
6161 sudo apt-get install -y clang-20 clang-format-20 lld-20 lldb-20
6262
63- - name : Set Clang 20 as default
63+ - name : Set clang-format V20 as default
6464 run : |
6565 sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-20 200
6666 sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 200
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if [ -z "$CLANG_FORMAT_PATH" ]; then
1919 echo " "
2020 echo " To install clang-format:"
2121 echo " * macOS: brew install clang-format"
22- echo " * Ubuntu: install package clang-format or clang-tools-extra "
22+ echo " * Ubuntu: follow steps used on file .github/workflows/buildandtest.yml clang-format setup. "
2323 echo " * Arch: pacman -S clang llvm llvm-libs"
2424 exit 1
2525fi
You can’t perform that action at this time.
0 commit comments