mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 22:36:46 +00:00
Merge pull request #1667 from akv-platform/al-cheb/add-ubuntu-clan-tidy
[Ubuntu] Use official repository to install clang
This commit is contained in:
@@ -12,7 +12,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user