Skip to content

Commit 8649ec9

Browse files
committed
update to clang / llvm 18
1 parent ecc8144 commit 8649ec9

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Clang
2323
uses: egor-tensin/setup-clang@v1
2424
with:
25-
version: 17
25+
version: 18
2626
platform: x64
2727

2828
- name: Prepare compile_commands.json
@@ -39,7 +39,7 @@ jobs:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
with:
4141
style: file
42-
version: 17
42+
version: 18
4343
database: build
4444
files-changed-only: ${{ github.event_name != 'workflow_dispatch' }}
4545
lines-changed-only: ${{ github.event_name != 'workflow_dispatch' }}

.github/workflows/meson.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ jobs:
105105
run: |
106106
wget https://apt.llvm.org/llvm.sh
107107
chmod +x llvm.sh
108-
sudo ./llvm.sh 17
109-
sudo apt-get install libc++-17* libc++abi*17* -y
110-
echo "CC=clang-17" >> "$GITHUB_ENV"
111-
echo "CXX=clang++-17" >> "$GITHUB_ENV"
112-
echo "OBJC=clang-17" >> "$GITHUB_ENV"
108+
sudo ./llvm.sh 18
109+
sudo apt-get install libc++-18* libc++abi*18* -y
110+
echo "CC=clang-18" >> "$GITHUB_ENV"
111+
echo "CXX=clang++-18" >> "$GITHUB_ENV"
112+
echo "OBJC=clang-18" >> "$GITHUB_ENV"
113113
114114
115115
- name: Setup GCC (Linux)
@@ -123,7 +123,7 @@ jobs:
123123
if: matrix.config.os == 'macos'
124124
run: |
125125
brew update
126-
brew install llvm@17
126+
brew install llvm@18
127127
echo "$(brew --prefix)/opt/llvm/bin" >> $GITHUB_PATH
128128
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm/lib -L$(brew --prefix)/opt/llvm/lib/c++ -Wl,-rpath,$(brew --prefix)/opt/llvm/lib/c++" >> "$GITHUB_ENV"
129129
echo "CPPFLAGS=-I$(brew --prefix)/opt/llvm/include" >> "$GITHUB_ENV"

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
run: |
2020
wget https://apt.llvm.org/llvm.sh
2121
chmod +x llvm.sh
22-
sudo ./llvm.sh 17
23-
sudo apt-get install libc++-17* libc++abi*17* llvm-17 -y
24-
echo "CC=clang-17" >> "$GITHUB_ENV"
25-
echo "CXX=clang++-17" >> "$GITHUB_ENV"
22+
sudo ./llvm.sh 18
23+
sudo apt-get install libc++-18* libc++abi*18* llvm-18 -y
24+
echo "CC=clang-18" >> "$GITHUB_ENV"
25+
echo "CXX=clang++-18" >> "$GITHUB_ENV"
2626
2727
- name: Setup meson
2828
run: |

0 commit comments

Comments
 (0)