feat(CI): clang-11 in ubuntu 20.04 (#4891)
This commit is contained in:
parent
910a3e69db
commit
b7aa1f301a
3 changed files with 15 additions and 0 deletions
3
.github/workflows/core_build.yml
vendored
3
.github/workflows/core_build.yml
vendored
|
|
@ -17,6 +17,9 @@ jobs:
|
|||
modules: [with, without]
|
||||
# we can include specific combinations here
|
||||
include:
|
||||
- os: ubuntu-20.04
|
||||
compiler: clang11
|
||||
modules: without
|
||||
- os: ubuntu-20.04
|
||||
compiler: clang9
|
||||
modules: without
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue