From bca629d030618d299b05a3f35036a73be7a95152 Mon Sep 17 00:00:00 2001 From: Yann Locatelli Date: Wed, 13 Dec 2023 14:40:13 +0100 Subject: [PATCH] :wrench: Clang Add Clang 15 and 17 in CI --- .github/actions/setup/action.yml | 14 ++++++++++++++ .github/workflows/ci-unit_tests.yml | 2 ++ 2 files changed, 16 insertions(+) diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index c86867949b..10e9c84a5e 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -92,6 +92,20 @@ runs: TOOLCHAIN_VERSION=$(arm-none-eabi-gcc --version | grep -Po '(?<=gcc \().*(?= \(re)' | sed 's/)/ -/g') echo "TOOLCHAIN_VERSION=$TOOLCHAIN_VERSION" >> $GITHUB_ENV + - name: Install newer Clang 15 + shell: bash + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 15 + + - name: Install newer Clang 17 + shell: bash + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x ./llvm.sh + sudo ./llvm.sh 17 + # # Mark: - Misc. tools # diff --git a/.github/workflows/ci-unit_tests.yml b/.github/workflows/ci-unit_tests.yml index 5c84b3c8a1..6e7c1be1de 100644 --- a/.github/workflows/ci-unit_tests.yml +++ b/.github/workflows/ci-unit_tests.yml @@ -28,6 +28,8 @@ jobs: compiler: [ { name: Clang 13, cc: /usr/bin/clang-13, cxx: /usr/bin/clang++-13 }, { name: Clang 14, cc: /usr/bin/clang-14, cxx: /usr/bin/clang++-14 }, + { name: Clang 15, cc: /usr/bin/clang-15, cxx: /usr/bin/clang++-15 }, + { name: Clang 17, cc: /usr/bin/clang-17, cxx: /usr/bin/clang++-17 }, { name: GCC 10, cc: /usr/bin/gcc-10, cxx: /usr/bin/g++-10 }, # { name: GCC 11, cc: /usr/bin/gcc-11, cxx: /usr/bin/g++-11 }, # ? Not working yet, see https://github.com/boost-ext/sml/issues/546 { name: GCC 12, cc: /usr/bin/gcc-12, cxx: /usr/bin/g++-12 },