Use clang 18 and ubuntu-24.04 runner

This commit is contained in:
Piotr Wójcik 2025-09-22 16:15:20 +02:00
commit 9c834894cc
3 changed files with 3 additions and 6 deletions

View file

@ -21,7 +21,7 @@ jobs:
# Bug when running with TSAN: "ThreadSanitizer: CHECK failed: sanitizer_deadlock_detector"
- BACKEND: rocksdb
SANITIZER: { name: TSAN }
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
COMPILER: ${{ matrix.COMPILER }}
BACKEND: ${{ matrix.BACKEND }}

View file

@ -56,7 +56,7 @@ jobs:
COMPILER: [gcc, clang]
RELEASE:
- ${{ startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
COMPILER: ${{ matrix.COMPILER }}
BACKEND: ${{ matrix.BACKEND }}

View file

@ -4,10 +4,7 @@ set -euox pipefail
# Clang installer dependencies
DEBIAN_FRONTEND=noninteractive apt-get install -yqq lsb-release software-properties-common gnupg
CLANG_VERSION=16
# TODO: Verify integrity (at this time, the clang build is not used for any production artifacts)
curl -O https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh $CLANG_VERSION
CLANG_VERSION=18
update-alternatives --install /usr/bin/cc cc /usr/bin/clang-$CLANG_VERSION 100
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-$CLANG_VERSION 100