feat(CI): clang-11 in ubuntu 20.04 (#4891)

This commit is contained in:
Francesco Borzì
2021-03-17 21:39:47 +01:00
committed by GitHub
parent 910a3e69db
commit b7aa1f301a
3 changed files with 15 additions and 0 deletions

View File

@@ -65,6 +65,12 @@ case $COMPILER in
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
;;
"clang11" )
time sudo apt-get install -y clang-11
echo "CCOMPILERC=\"clang-11\"" >> ./conf/config.sh
echo "CCOMPILERCXX=\"clang++-11\"" >> ./conf/config.sh
;;
* )
echo "Unknown compiler $COMPILER"
exit 1

View File

@@ -70,6 +70,12 @@ case $COMPILER in
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
;;
"clang11" )
time sudo apt-get install -y clang-11
echo "CCOMPILERC=\"clang-11\"" >> ./conf/config.sh
echo "CCOMPILERCXX=\"clang++-11\"" >> ./conf/config.sh
;;
* )
echo "Unknown compiler $COMPILER"
exit 1