Skip to content

Commit

Permalink
🔧 Clang
Browse files Browse the repository at this point in the history
Add Clang 15 and 17 in CI
  • Loading branch information
YannLocatelli committed Dec 13, 2023
1 parent 4ad27a0 commit bca629d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit bca629d

Please sign in to comment.