Skip to content

Commit 53585f9

Browse files
committed
ci: Use clang-snapshot in "MSan" job
1 parent 6894c96 commit 53585f9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ jobs:
417417
# when ctime_tests when enabled.
418418
CFLAGS: '-fsanitize=memory -fsanitize-recover=memory -fsanitize-memory-param-retval -g'
419419
CTIMETESTS: 'no'
420+
cc:
421+
- 'clang'
422+
- 'clang-snapshot'
420423

421424
env:
422425
ECDH: 'yes'
@@ -425,7 +428,7 @@ jobs:
425428
SCHNORRSIG: 'yes'
426429
MUSIG: 'yes'
427430
ELLSWIFT: 'yes'
428-
CC: 'clang'
431+
CC: ${{ matrix.cc }}
429432
SECP256K1_TEST_ITERS: 32
430433
ASM: 'no'
431434
WITH_VALGRIND: 'no'

ci/linux-debian.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN \
7171
# Determine the version number of the LLVM development branch
7272
LLVM_VERSION=$(apt-cache search --names-only '^clang-[0-9]+$' | sort -V | tail -1 | cut -f1 -d" " | cut -f2 -d"-" ) && \
7373
# Install
74-
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y "clang-${LLVM_VERSION}" && \
74+
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y "clang-${LLVM_VERSION}" "libclang-rt-${LLVM_VERSION}-dev" && \
7575
# Create symlink
7676
ln -s "/usr/bin/clang-${LLVM_VERSION}" /usr/bin/clang-snapshot && \
7777
# Clean up

0 commit comments

Comments
 (0)