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

@@ -17,6 +17,10 @@ jobs:
extra_logs: [false] extra_logs: [false]
# we can include specific combinations here # we can include specific combinations here
include: include:
- os: ubuntu-20.04
compiler: clang12
modules: without
extra_logs: false
- os: ubuntu-20.04 - os: ubuntu-20.04
compiler: clang11 compiler: clang11
modules: without modules: without

View File

@@ -77,6 +77,12 @@ case $COMPILER in
echo "CCOMPILERCXX=\"clang++-11\"" >> ./conf/config.sh 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" echo "Unknown compiler $COMPILER"
exit 1 exit 1

View File

@@ -82,6 +82,12 @@ case $COMPILER in
echo "CCOMPILERCXX=\"clang++-11\"" >> ./conf/config.sh 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" echo "Unknown compiler $COMPILER"
exit 1 exit 1