forked from eclipse-iceoryx/iceoryx2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-iceoryx#264] Install clang-format and clang-tidy 18
- Loading branch information
Showing
4 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Install iceoryx dependencies and clang-tidy' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install iceoryx dependencies and clang-tidy | ||
shell: bash | ||
run: | | ||
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-18 main" | ||
sudo apt-get update | ||
sudo apt-get install -y clang-format-18 clang-tidy-18 clang-tools-18 clang-18 lld | ||
sudo rm /usr/bin/clang | ||
sudo rm /usr/bin/clang++ | ||
sudo rm /usr/bin/clang-tidy | ||
sudo rm /usr/bin/clang-format | ||
sudo ln -s /usr/bin/clang-18 /usr/bin/clang | ||
sudo ln -s /usr/bin/clang++-18 /usr/bin/clang++ | ||
sudo ln -s /usr/bin/clang-tidy-18 /usr/bin/clang-tidy | ||
sudo ln -s /usr/bin/clang-format-18 /usr/bin/clang-format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters