Use clang 18 and ubuntu-24.04 runner
This commit is contained in:
parent
3538c4df2d
commit
9c834894cc
3 changed files with 3 additions and 6 deletions
2
.github/workflows/code_sanitizers.yml
vendored
2
.github/workflows/code_sanitizers.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue