From c208a1219b54fa52501d86446a4a30edb51d0d2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Wed, 3 Jun 2020 18:41:02 +0200 Subject: [PATCH] feat(CI): update clang-7 to clang-9, add clang-10 build (#3107) --- .github/workflows/core_build.yml | 2 +- apps/ci/ci-install.sh | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index e512a6975..75bd8051b 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - compiler: [clang6, clang7] + compiler: [clang6, clang9, clang10] modules: [with, without] runs-on: ubuntu-20.04 name: ${{ matrix.compiler }}-${{ matrix.modules }}-modules diff --git a/apps/ci/ci-install.sh b/apps/ci/ci-install.sh index 63fd73bfe..6d6d8f077 100755 --- a/apps/ci/ci-install.sh +++ b/apps/ci/ci-install.sh @@ -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 ;; * )