mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(CI): clang-11 in ubuntu 20.04 (#4891)
This commit is contained in:
3
.github/workflows/core_build.yml
vendored
3
.github/workflows/core_build.yml
vendored
@@ -17,6 +17,9 @@ jobs:
|
|||||||
modules: [with, without]
|
modules: [with, without]
|
||||||
# we can include specific combinations here
|
# we can include specific combinations here
|
||||||
include:
|
include:
|
||||||
|
- os: ubuntu-20.04
|
||||||
|
compiler: clang11
|
||||||
|
modules: without
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
compiler: clang9
|
compiler: clang9
|
||||||
modules: without
|
modules: without
|
||||||
|
|||||||
@@ -65,6 +65,12 @@ case $COMPILER in
|
|||||||
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
|
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"
|
echo "Unknown compiler $COMPILER"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -70,6 +70,12 @@ case $COMPILER in
|
|||||||
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
|
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"
|
echo "Unknown compiler $COMPILER"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user