mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(CI): update clang-7 to clang-9, add clang-10 build (#3107)
This commit is contained in:
@@ -30,10 +30,18 @@ case $COMPILER in
|
||||
echo "CCOMPILERCXX=\"clang++-6.0\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"clang7" )
|
||||
time sudo apt-get install -y clang-7
|
||||
echo "CCOMPILERC=\"clang-7\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-7\"" >> ./conf/config.sh
|
||||
"clang9" )
|
||||
time sudo apt-get install -y clang-9
|
||||
echo "CCOMPILERC=\"clang-9\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-9\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"clang10" )
|
||||
time sudo apt-get install -y clang-10
|
||||
echo "CCOMPILERC=\"clang-10\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
|
||||
# disable -Werror for clang-10 TODO: remove when this is fixed https://github.com/azerothcore/azerothcore-wotlk/issues/3108
|
||||
echo "CCUSTOMOPTIONS='-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache'" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
* )
|
||||
|
||||
Reference in New Issue
Block a user