Skip to content

Commit

Permalink
Compile with clang 18
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanel committed Mar 13, 2024
1 parent 50b818c commit 1f1be57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu-clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
clang-version: [17]
clang-version: [18]
buildmode: [Debug]

steps:
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libcurl4-gnutls-dev ninja-build -y --no-install-recommends
sudo apt install libssl-dev libcurl4-gnutls-dev ninja-build -y --no-install-recommends
- name: Install clang (with clang-tidy)
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [g++-11, clang++-17]
compiler: [g++-11, clang++-18]
buildmode: [Debug, Release]

steps:
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install libcurl4-gnutls-dev ninja-build -y --no-install-recommends
sudo apt install libssl-dev libcurl4-gnutls-dev ninja-build -y --no-install-recommends
- name: Install gcc
run: |
Expand All @@ -33,7 +33,8 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17
CLANG_VERSION=$(echo ${{matrix.compiler}} | cut -d- -f2)
sudo ./llvm.sh ${CLANG_VERSION}
if: startsWith(matrix.compiler, 'clang++')

- name: Create Build Environment
Expand Down

0 comments on commit 1f1be57

Please sign in to comment.