mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
CI: Update to clang 19 on ubuntu 24.04, add clang-tidy package
This commit is contained in:
parent
f4cd92e24a
commit
dbd787a81f
2 changed files with 16 additions and 11 deletions
16
.cirrus.yml
16
.cirrus.yml
|
@ -300,8 +300,8 @@ ubuntu24_clang_libcpp_task:
|
|||
<< : *CI_TEMPLATE
|
||||
<< : *SKIP_TASK_ON_PR
|
||||
env:
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
CC: clang-19
|
||||
CXX: clang++-19
|
||||
CXXFLAGS: -stdlib=libc++
|
||||
|
||||
ubuntu22_task:
|
||||
|
@ -445,8 +445,8 @@ ubsan_sanitizer_task:
|
|||
<< : *SKIP_TASK_ON_PR
|
||||
test_fuzzers_script: ./ci/test-fuzzers.sh
|
||||
env:
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
CC: clang-19
|
||||
CXX: clang++-19
|
||||
CXXFLAGS: -DZEEK_DICT_DEBUG
|
||||
ZEEK_CI_CONFIGURE_FLAGS: *UBSAN_SANITIZER_CONFIG
|
||||
ZEEK_TAILORED_UB_CHECKS: 1
|
||||
|
@ -459,8 +459,8 @@ ubsan_sanitizer_zam_task:
|
|||
|
||||
<< : *CI_TEMPLATE
|
||||
env:
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
CC: clang-19
|
||||
CXX: clang++-19
|
||||
ZEEK_CI_CONFIGURE_FLAGS: *UBSAN_SANITIZER_CONFIG
|
||||
ZEEK_TAILORED_UB_CHECKS: 1
|
||||
UBSAN_OPTIONS: print_stacktrace=1
|
||||
|
@ -480,8 +480,8 @@ tsan_sanitizer_task:
|
|||
<< : *CI_TEMPLATE
|
||||
<< : *SKIP_TASK_ON_PR
|
||||
env:
|
||||
CC: clang-18
|
||||
CXX: clang++-18
|
||||
CC: clang-19
|
||||
CXX: clang++-19
|
||||
ZEEK_CI_CONFIGURE_FLAGS: *TSAN_SANITIZER_CONFIG
|
||||
ZEEK_CI_DISABLE_SCRIPT_PROFILING: 1
|
||||
# If this is defined directly in the environment, configure fails to find
|
||||
|
|
|
@ -4,15 +4,16 @@ ENV DEBIAN_FRONTEND="noninteractive" TZ="America/Los_Angeles"
|
|||
|
||||
# A version field to invalidate Cirrus's build cache when needed, as suggested in
|
||||
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
|
||||
ENV DOCKERFILE_VERSION 20241024
|
||||
ENV DOCKERFILE_VERSION 20250522
|
||||
|
||||
RUN apt-get update && apt-get -y install \
|
||||
bc \
|
||||
bison \
|
||||
bsdmainutils \
|
||||
ccache \
|
||||
clang-18 \
|
||||
clang++-18 \
|
||||
clang-19 \
|
||||
clang++-19 \
|
||||
clang-tidy-19 \
|
||||
cmake \
|
||||
cppzmq-dev \
|
||||
curl \
|
||||
|
@ -47,6 +48,10 @@ RUN apt-get update && apt-get -y install \
|
|||
RUN pip3 install --break-system-packages websockets junit2html
|
||||
RUN gem install coveralls-lcov
|
||||
|
||||
# Ubuntu installs clang versions with the binaries having the version number
|
||||
# appended. Create a symlink for clang-tidy so cmake finds it correctly.
|
||||
RUN update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-19 1000
|
||||
|
||||
# Download a newer pre-built ccache version that recognizes -fprofile-update=atomic
|
||||
# which is used when building with --coverage.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue