Skip to content

Commit

Permalink
Merge pull request #1339 from msimberg/sanitizers-release-builds
Browse files Browse the repository at this point in the history
Add `RelWithDebInfo` mode sanitizer CI workflows
  • Loading branch information
msimberg authored Nov 22, 2024
2 parents 6b8e58b + edbb073 commit bb3d37a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/linux_asan_ubsan_lsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
# --privileged is enabled for sysctl further down.
options: --privileged

strategy:
matrix:
build_type: ["Debug", "RelWithDebInfo"]

steps:
- uses: actions/checkout@v4
- name: Update apt repositories for ccache
Expand All @@ -42,7 +46,7 @@ jobs:
-Bbuild \
-GNinja \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_BUILD_TYPE= ${{ matrix.build_type }} \
-DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_MPI=OFF \
-DPIKA_WITH_EXAMPLES=ON \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/linux_tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
# --privileged is enabled for sysctl further down.
options: --privileged

strategy:
matrix:
build_type: ["Debug", "RelWithDebInfo"]

steps:
- uses: actions/checkout@v4
- name: Update apt repositories for ccache
Expand All @@ -49,7 +53,7 @@ jobs:
-Bbuild \
-GNinja \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_MPI=OFF \
-DPIKA_WITH_EXAMPLES=ON \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ namespace pika::threads::detail {
debug::detail::threadinfo<threads::detail::thread_id_ref_type*>(&tid));
}
else
#else
PIKA_UNUSED(heap);
#endif
{
// Allocate a new thread object.
Expand Down
2 changes: 2 additions & 0 deletions libs/pika/schedulers/include/pika/schedulers/thread_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ namespace pika::threads::detail {
threads::detail::get_thread_id_data(thrd)->rebind(data);
}
else
# else
PIKA_UNUSED(heap);
# endif
#endif
{
Expand Down

0 comments on commit bb3d37a

Please sign in to comment.