diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7df8f4b7..80bf5d63 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,10 +10,10 @@ jobs: matrix: build-type: [ Release, RelWithDebInfo ] compiler: [ - { cxx: g++-11, pkgs: g++-11 libtbb-dev }, - { cxx: g++-12, pkgs: g++-12 libtbb-dev }, - { cxx: clang++-14, pkgs: clang-14 libtbb-dev }, - { cxx: clang++-15, pkgs: clang-15 libtbb-dev }, + { cxx: g++-11, pkgs: g++-11 libtbb-dev gdb }, + { cxx: g++-12, pkgs: g++-12 libtbb-dev gdb }, + { cxx: clang++-14, pkgs: clang-14 libtbb-dev gdb }, + { cxx: clang++-15, pkgs: clang-15 libtbb-dev gdb }, ] defaults: @@ -43,7 +43,7 @@ jobs: run: cmake --build . --parallel - name: run-tests - run: ctest --output-on-failure --schedule-random + run: gdb -ex run ./unit_tests --args schedule-random - name: install run: sudo cmake --install . diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index d92e1e44..053ee1cf 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - sanitizer: [ address, undefined ] + sanitizer: [ address, undefined, thread ] include: - cxx: clang++-15 pkgs: clang-15 llvm-15 libtbb-dev @@ -16,7 +16,7 @@ jobs: env: ASAN_OPTIONS: check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:detect_leaks=1 UBSAN_OPTIONS: print_stacktrace=1:print_summary=1 - TSAN_OPTIONS: suppressions=../.tsan-supressions:external_symbolizer_path=/usr/lib/llvm-15/bin/llvm-symbolizer:verbosity=2:force_seq_cst_atomics=0 + TSAN_OPTIONS: external_symbolizer_path=/usr/lib/llvm-15/bin/llvm-symbolizer:verbosity=2:force_seq_cst_atomics=0 defaults: run: