6 name: ${{ matrix.sanitizers.name }}
7 runs-on: ${{ matrix.config.os }}
9 COMPILER: ${{ matrix.config.compiler }}
10 COMP: ${{ matrix.config.comp }}
15 - name: Ubuntu 22.04 GCC
21 - name: Run with thread sanitizer
22 make_option: sanitize=thread
23 instrumented_option: sanitizer-thread
24 - name: Run with UB sanitizer
25 make_option: sanitize=undefined
26 instrumented_option: sanitizer-undefined
27 - name: Run under valgrind
29 instrumented_option: valgrind
30 - name: Run under valgrind-thread
32 instrumented_option: valgrind-thread
35 working-directory: src
36 shell: ${{ matrix.config.shell }}
38 - uses: actions/checkout@v3
40 - name: Download required linux packages
43 sudo apt install expect valgrind g++-multilib
45 - name: Download the used network from the fishtest framework
48 - name: Check compiler
51 - name: Test help target
59 - name: ${{ matrix.sanitizers.name }}
61 export CXXFLAGS="-O1 -fno-inline"
63 make -j2 ARCH=x86-64-sse41-popcnt ${{ matrix.sanitizers.make_option }} debug=yes optimize=no build > /dev/null
64 ../tests/instrumented.sh --${{ matrix.sanitizers.instrumented_option }}