Skip to content

Commit 1f06f42

Browse files
committed
Update Github CI to run on Ubuntu 24.04 with clang-19
Update Github CI to run on Ubuntu 24.04 with clang-19 add clang-format-19 and libstdc++-19-dev
1 parent f5fba53 commit 1f06f42

File tree

2 files changed

+8
-110
lines changed

2 files changed

+8
-110
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ jobs:
1515
complete:
1616
if: always()
1717
needs: [fmt, cargo-deny, rust-check-git-rev-deps, build]
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
2121
run: exit 1
2222

2323
fmt:
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525
steps:
2626
- uses: actions/checkout@v4
2727
- run: rustup component add rustfmt
2828
- run: rustup update
2929
- run: cargo fmt --all --check
3030

3131
cargo-deny:
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-24.04
3333
strategy:
3434
matrix:
3535
checks:
@@ -47,13 +47,13 @@ jobs:
4747
arguments:
4848

4949
rust-check-git-rev-deps:
50-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-24.04
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: stellar/actions/rust-check-git-rev-deps@main
5454

5555
build:
56-
runs-on: ubuntu-jammy-16-cores-amd64
56+
runs-on: ubuntu-noble-16-cores-amd64
5757
env:
5858
CACHED_PATHS: |
5959
~/.ccache
@@ -112,11 +112,11 @@ jobs:
112112
- name: install tool chain
113113
if: steps.cache.outputs.cache-hit != 'true'
114114
run: |
115-
sudo apt-get -y install libstdc++-10-dev clang-format-12 ccache lldb
115+
sudo apt-get -y install libstdc++-14-dev clang-format-19 ccache lldb
116116
if test "${{ matrix.toolchain }}" = "gcc" ; then
117117
sudo apt-get -y install cpp-10 gcc-10 g++-10
118118
else
119-
sudo apt-get -y install clang-12 llvm-12
119+
sudo apt-get -y install clang-19 llvm-19 libc++-19-dev libc++abi-19-dev
120120
fi
121121
- name: install rustup components
122122
if: steps.cache.outputs.cache-hit != 'true'
@@ -139,6 +139,7 @@ jobs:
139139
else
140140
export CC='clang'
141141
export CXX='clang++'
142+
export CLANG_VERSION='19'
142143
fi
143144
echo Build with $CC and $CXX
144145
./ci-build.sh --use-temp-db --protocol ${{ matrix.protocol }} ${{ matrix.scenario }}

.github/workflows/clang-19-static-analysis.yml

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)