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