From d72375c4ebe8ba132ec81ec87baeb71c3cf13ff7 Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Wed, 9 Jun 2021 12:39:02 -0700 Subject: [PATCH] feat(CI): add clang12 to core_build matrix (#5681) --- .github/workflows/core_build.yml | 4 ++++ apps/ci/ci-conf.sh | 6 ++++++ apps/ci/ci-install.sh | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index de53db9be..0dd057cdd 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -17,6 +17,10 @@ jobs: extra_logs: [false] # we can include specific combinations here include: + - os: ubuntu-20.04 + compiler: clang12 + modules: without + extra_logs: false - os: ubuntu-20.04 compiler: clang11 modules: without diff --git a/apps/ci/ci-conf.sh b/apps/ci/ci-conf.sh index 3930d0665..6e5301a3d 100644 --- a/apps/ci/ci-conf.sh +++ b/apps/ci/ci-conf.sh @@ -77,6 +77,12 @@ case $COMPILER in 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" exit 1 diff --git a/apps/ci/ci-install.sh b/apps/ci/ci-install.sh index 76029caeb..944d07be8 100644 --- a/apps/ci/ci-install.sh +++ b/apps/ci/ci-install.sh @@ -82,6 +82,12 @@ case $COMPILER in 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" exit 1