File tree Expand file tree Collapse file tree 2 files changed +59
-27
lines changed Expand file tree Collapse file tree 2 files changed +59
-27
lines changed Original file line number Diff line number Diff line change @@ -64,33 +64,6 @@ linux_container_snippet: &LINUX_CONTAINER
6464 # More than enough for our scripts.
6565 memory : 2G
6666
67- # Memory sanitizers
68- task :
69- << : *LINUX_CONTAINER
70- name : " MSan"
71- env :
72- ECDH : yes
73- RECOVERY : yes
74- SCHNORRSIG : yes
75- ELLSWIFT : yes
76- CTIMETESTS : yes
77- CC : clang
78- SECP256K1_TEST_ITERS : 32
79- ASM : no
80- WITH_VALGRIND : no
81- container :
82- memory : 2G
83- matrix :
84- - env :
85- CFLAGS : " -fsanitize=memory -g"
86- - env :
87- ECMULTGENPRECISION : 2
88- ECMULTWINDOW : 2
89- CFLAGS : " -fsanitize=memory -g -O3"
90- test_script :
91- - ./ci/ci.sh
92- << : *CAT_LOGS
93-
9467task :
9568 name : " C++ -fpermissive (entire project)"
9669 << : *LINUX_CONTAINER
Original file line number Diff line number Diff line change @@ -488,6 +488,65 @@ jobs:
488488 run : env
489489 if : ${{ always() }}
490490
491+ msan_debian :
492+ name : " MSan"
493+ runs-on : ubuntu-latest
494+ needs : docker_cache
495+
496+ strategy :
497+ fail-fast : false
498+ matrix :
499+ configuration :
500+ - env_vars :
501+ CFLAGS : ' -fsanitize=memory -g'
502+ - env_vars :
503+ ECMULTGENPRECISION : 2
504+ ECMULTWINDOW : 2
505+ CFLAGS : ' -fsanitize=memory -g -O3'
506+
507+ env :
508+ ECDH : ' yes'
509+ RECOVERY : ' yes'
510+ SCHNORRSIG : ' yes'
511+ ELLSWIFT : ' yes'
512+ CTIMETESTS : ' yes'
513+ CC : ' clang'
514+ SECP256K1_TEST_ITERS : 32
515+ ASM : ' no'
516+ WITH_VALGRIND : ' no'
517+
518+ steps :
519+ - name : Checkout
520+ uses : actions/checkout@v3
521+
522+ - name : CI script
523+ env : ${{ matrix.configuration.env_vars }}
524+ uses : ./.github/actions/run-in-docker-action
525+ with :
526+ dockerfile : ./ci/linux-debian.Dockerfile
527+ tag : linux-debian-image
528+ command : >
529+ git config --global --add safe.directory ${{ github.workspace }} &&
530+ ./ci/ci.sh
531+
532+ - run : cat tests.log || true
533+ if : ${{ always() }}
534+ - run : cat noverify_tests.log || true
535+ if : ${{ always() }}
536+ - run : cat exhaustive_tests.log || true
537+ if : ${{ always() }}
538+ - run : cat ctime_tests.log || true
539+ if : ${{ always() }}
540+ - run : cat bench.log || true
541+ if : ${{ always() }}
542+ - run : cat config.log || true
543+ if : ${{ always() }}
544+ - run : cat test_env.log || true
545+ if : ${{ always() }}
546+ - name : CI env
547+ run : env
548+ if : ${{ always() }}
549+
491550 mingw_debian :
492551 name : ${{ matrix.configuration.job_name }}
493552 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments