Skip to content

Commit 00a42b9

Browse files
committed
Add MSan CI job
1 parent 44916ae commit 00a42b9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.cirrus.yml

+26
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,32 @@ task:
340340
- ./ci/cirrus.sh
341341
<< : *CAT_LOGS
342342

343+
# Memory sanitizers
344+
task:
345+
<< : *LINUX_CONTAINER
346+
name: "MSan"
347+
env:
348+
ECDH: yes
349+
RECOVERY: yes
350+
SCHNORRSIG: yes
351+
CTIMETEST: no
352+
CC: clang
353+
SECP256K1_TEST_ITERS: 32
354+
ASM: no
355+
container:
356+
memory: 2G
357+
matrix:
358+
- env:
359+
CFLAGS: "-fsanitize=memory -g"
360+
- env:
361+
ECMULTGENPRECISION: 2
362+
ECMULTWINDOW: 2
363+
CFLAGS: "-fsanitize=memory -g -O3"
364+
<< : *MERGE_BASE
365+
test_script:
366+
- ./ci/cirrus.sh
367+
<< : *CAT_LOGS
368+
343369
task:
344370
name: "C++ -fpermissive (entire project)"
345371
<< : *LINUX_CONTAINER

0 commit comments

Comments
 (0)