mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 15:28:16 +00:00
add clang-tidy
This commit is contained in:
@@ -12,11 +12,11 @@ function InstallClang {
|
|||||||
local version=$1
|
local version=$1
|
||||||
|
|
||||||
echo "Installing clang-$version..."
|
echo "Installing clang-$version..."
|
||||||
if [[ $version =~ (9|10) ]]; then
|
if [[ $version =~ 9 ]] && isUbuntu16; then
|
||||||
./llvm.sh $version
|
./llvm.sh $version
|
||||||
apt-get install -y "clang-format-$version"
|
apt-get install -y "clang-format-$version"
|
||||||
else
|
else
|
||||||
apt-get install -y "clang-$version" "lldb-$version" "lld-$version" "clang-format-$version"
|
apt-get install -y "clang-$version" "lldb-$version" "lld-$version" apt-get install -y "clang-format-$version"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
|
|||||||
Reference in New Issue
Block a user