From b7aa1f301a99f5c0e12bf82654e458182d1812e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Borz=C3=AC?= Date: Wed, 17 Mar 2021 21:39:47 +0100 Subject: [PATCH] feat(CI): clang-11 in ubuntu 20.04 (#4891) --- .github/workflows/core_build.yml | 3 +++ apps/ci/ci-conf.sh | 6 ++++++ apps/ci/ci-install.sh | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index d3403b7d2..ae78caa26 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -17,6 +17,9 @@ jobs: modules: [with, without] # we can include specific combinations here include: + - os: ubuntu-20.04 + compiler: clang11 + modules: without - os: ubuntu-20.04 compiler: clang9 modules: without diff --git a/apps/ci/ci-conf.sh b/apps/ci/ci-conf.sh index b3a75448a..3fb0eae9e 100644 --- a/apps/ci/ci-conf.sh +++ b/apps/ci/ci-conf.sh @@ -65,6 +65,12 @@ case $COMPILER in 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" exit 1 diff --git a/apps/ci/ci-install.sh b/apps/ci/ci-install.sh index 3ad34c6c5..cc0681533 100644 --- a/apps/ci/ci-install.sh +++ b/apps/ci/ci-install.sh @@ -70,6 +70,12 @@ case $COMPILER in 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" exit 1