6 name: ${{ matrix.sanitizers.name }}
7 runs-on: ${{ matrix.config.os }}
9 COMPILER: ${{ matrix.config.compiler }}
10 COMP: ${{ matrix.config.comp }}
16 name: "Ubuntu 20.04 GCC",
24 name: Run with thread sanitizer,
25 make_option: sanitize=thread,
26 instrumented_option: sanitizer-thread
29 name: Run with UB sanitizer,
30 make_option: sanitize=undefined,
31 instrumented_option: sanitizer-undefined
34 name: Run under valgrind,
36 instrumented_option: valgrind
39 name: Run under valgrind-thread,
41 instrumented_option: valgrind-thread
45 working-directory: src
46 shell: ${{ matrix.config.shell }}
48 - uses: actions/checkout@v3
52 - name: Download required linux packages
55 sudo apt install expect valgrind g++-multilib
57 - name: Download the used network from the fishtest framework
60 - name: Check compiler
63 - name: Test help target
71 - name: ${{ matrix.sanitizers.name }}
73 export CXXFLAGS="-O1 -fno-inline"
75 make -j2 ARCH=x86-64-modern ${{ matrix.sanitizers.make_option }} debug=yes optimize=no build > /dev/null
76 ../tests/instrumented.sh --${{ matrix.sanitizers.instrumented_option }}