mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(CI): add clang12 to core_build matrix (#5681)
This commit is contained in:
4
.github/workflows/core_build.yml
vendored
4
.github/workflows/core_build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user