feat(CI): add clang12 to core_build matrix (#5681)
This commit is contained in:
parent
ba96e81403
commit
d72375c4eb
3 changed files with 16 additions and 0 deletions
4
.github/workflows/core_build.yml
vendored
4
.github/workflows/core_build.yml
vendored
|
|
@ -17,6 +17,10 @@ jobs:
|
|||
extra_logs: [false]
|
||||
# we can include specific combinations here
|
||||
include:
|
||||
- os: ubuntu-20.04
|
||||
compiler: clang12
|
||||
modules: without
|
||||
extra_logs: false
|
||||
- os: ubuntu-20.04
|
||||
compiler: clang11
|
||||
modules: without
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue