Skip to content

Commit a634c28

Browse files
committed
ci: use LLVM/clang-16 in native_fuzz (ASAN) job
Similar to #27298.
1 parent 8e7179a commit a634c28

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ task:
271271
MAKEJOBS: "-j4" # Avoid excessive memory use
272272

273273
task:
274-
name: '[fuzzer,address,undefined,integer, no depends] [jammy]'
274+
name: '[fuzzer,address,undefined,integer, no depends] [lunar]'
275275
<< : *GLOBAL_TASK_TEMPLATE
276276
container:
277-
image: ubuntu:jammy
277+
image: ubuntu:lunar
278278
cpu: 4 # Increase CPU and memory to avoid timeout
279279
memory: 16G
280280
env:

ci/test/00_setup_env_native_fuzz.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
export LC_ALL=C.UTF-8
88

9-
export CI_IMAGE_NAME_TAG="ubuntu:22.04"
9+
export CI_IMAGE_NAME_TAG="ubuntu:23.04" # Version 23.04 will reach EOL in Jan 2024, and can be replaced by "ubuntu:24.04" (or anything else that ships the wanted clang version).
1010
export CONTAINER_NAME=ci_native_fuzz
11-
export PACKAGES="clang llvm python3 libevent-dev bsdmainutils libboost-dev libsqlite3-dev"
11+
export PACKAGES="clang-16 llvm-16 libclang-rt-16-dev python3 libevent-dev bsdmainutils libboost-dev libsqlite3-dev"
1212
export NO_DEPENDS=1
1313
export RUN_UNIT_TESTS=false
1414
export RUN_FUNCTIONAL_TESTS=false
1515
export RUN_FUZZ_TESTS=true
1616
export GOAL="install"
17-
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address,undefined,integer CC='clang -ftrivial-auto-var-init=pattern' CXX='clang++ -ftrivial-auto-var-init=pattern'"
17+
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer,address,undefined,integer CC='clang-16 -ftrivial-auto-var-init=pattern' CXX='clang++-16 -ftrivial-auto-var-init=pattern'"
1818
export CCACHE_SIZE=200M

0 commit comments

Comments
 (0)