Skip to content

Commit 904749c

Browse files
committed
Try to use clang-19 on CI
1 parent 303cca6 commit 904749c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030
matrix:
3131
# TODO: sanitizer: [debug, release, asan, usan, tsan]
3232
sanitizer: [debug, release]
33-
compiler: [g++-14, clang++-18]
33+
compiler: [g++-14, clang++-19]
3434

3535
steps:
3636
- uses: actions/checkout@v4
3737

3838
- name: Install static analyzers
3939
run: >-
40-
sudo apt-get install clang-tidy-18 ninja-build -y -q
40+
sudo apt-get install clang-tidy-19 ninja-build -y -q
4141
4242
sudo update-alternatives --install
4343
/usr/bin/clang-tidy clang-tidy
44-
/usr/bin/clang-tidy-18 140
44+
/usr/bin/clang-tidy-19 140
4545
4646
- name: Linux ${{ matrix.compiler }} ${{ matrix.sanitizer }}
4747
run: CXX=${{ matrix.compiler }} make ${{ matrix.sanitizer }}

.github/workflows/macos.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
# if: startsWith(matrix.compiler, 'clang')
4040
uses: aminya/setup-cpp@v1
4141
with:
42-
# TODO: compiler: llvm-19
42+
compiler: llvm-19
4343
# clangtidy: true
4444
# cmake: true
4545
ninja: true
4646

47-
- name: macos ${{ matrix.compiler }} ${{ matrix.sanitizer }}
47+
- name: macos clang++-19 ${{ matrix.sanitizer }}
4848
if: startsWith(matrix.compiler, 'clang')
49-
run: CXX=$(brew --prefix llvm@18)/bin/clang++ make ${{ matrix.sanitizer }}
49+
run: CXX=$(brew --prefix llvm@19)/bin/clang++ make ${{ matrix.sanitizer }}
5050

51-
- name: macos ${{ matrix.compiler }} ${{ matrix.sanitizer }}
51+
- name: macos g++ ${{ matrix.sanitizer }}
5252
if: startsWith(matrix.compiler, 'g++')
5353
run: CXX=${{ matrix.compiler }} make ${{ matrix.sanitizer }}

0 commit comments

Comments
 (0)