feat(CI): add clang12 to core_build matrix (#5681)

This commit is contained in:
Patrick Lewis
2021-06-09 12:39:02 -07:00
committed by GitHub
parent ba96e81403
commit d72375c4eb
3 changed files with 16 additions and 0 deletions

View File

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

View File

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