Skip to content

Commit cfa0673

Browse files
committed
[GHA] Update Ubuntu and Clang
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent 6486ada commit cfa0673

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
test_soms:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88
# continue-on-error: true
99
strategy:
1010
fail-fast: false # we want all jobs to run, because they may fail independently
@@ -26,24 +26,24 @@ jobs:
2626
run: |
2727
sudo apt-get install libcppunit-dev
2828
29-
- name: Install Clang 18
29+
- name: Install Clang 19
3030
run: |
3131
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
32-
sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main"
32+
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
3333
sudo apt-get update
34-
sudo apt-get install -y clang-18 clang-tidy-18
34+
sudo apt-get install -y clang-19 clang-tidy-19
3535
if: matrix.compiler == 'clang'
3636

3737
- name: Install Clang Format
38-
run: sudo apt-get install -y clang-format-18
38+
run: sudo apt-get install -y clang-format-19
3939
if: matrix.compiler == 'clang' && matrix.gc == 'GENERATIONAL'
4040

4141
- name: Build SOM VM
4242
run: |
4343
if [ "${{ matrix.compiler }}" = "clang" ]
4444
then
45-
export CC=clang-18
46-
export CXX=clang++-18
45+
export CC=clang-19
46+
export CXX=clang++-19
4747
else
4848
export CC=gcc
4949
export CXX=g++
@@ -68,12 +68,12 @@ jobs:
6868
- name: Clang Tidy
6969
if: matrix.compiler == 'clang'
7070
run: |
71-
clang-tidy-18 --config-file=.clang-tidy src/**/*.cpp -- -fdiagnostics-absolute-paths -DGC_TYPE=${{ matrix.gc}} ${{ matrix.integers }} -DUNITTESTS
71+
clang-tidy-19 --config-file=.clang-tidy src/**/*.cpp -- -fdiagnostics-absolute-paths -DGC_TYPE=${{ matrix.gc}} ${{ matrix.integers }} -DUNITTESTS
7272
7373
- name: Clang Format
7474
if: matrix.compiler == 'clang' && matrix.gc == 'GENERATIONAL'
7575
run: |
76-
clang-format-18 --dry-run --style=file --Werror src/*.cpp src/**/*.cpp src/**/*.h
76+
clang-format-19 --dry-run --style=file --Werror src/*.cpp src/**/*.cpp src/**/*.h
7777
7878
# Disabled because it's too slow with the sanitizers
7979
# - name: Test SomSom

0 commit comments

Comments
 (0)