Skip to content

Commit

Permalink
[FIX] exclude tmp_directory from UBSan
Browse files Browse the repository at this point in the history
/opt/homebrew/opt/llvm@18/bin/../include/c++/v1/__algorithm/partition.h:58:12: runtime error: call to function testing::internal::(anonymous namespace)::IsGlobPattern(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) through pointer to incorrect function type 'bool (*)(const std::string &)'
  • Loading branch information
eseiler committed Sep 26, 2024
1 parent 78a7ede commit fc04a08
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci_sanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ jobs:
os: macos-14
cxx_flags: "-fno-omit-frame-pointer -fsanitize=undefined,float-divide-by-zero,implicit-conversion,local-bounds,nullability -Wno-pass-failed"

- name: "UBSan"
os: macos-14
build_type: Release
ctest_excludes: "-E tmp_directory_snippet_cmp_output"

- name: "UBSan"
os: macos-14
build_type: RelWithDebInfo
ctest_excludes: "-E tmp_directory_snippet_cmp_output"

- name: "UBSan"
os: ubuntu-latest
cxx_flags: "-fno-omit-frame-pointer -fsanitize=undefined,float-divide-by-zero"
Expand Down Expand Up @@ -98,5 +108,5 @@ jobs:

- name: Run tests
working-directory: build
run: ctest . -j --output-on-failure
run: ctest . -j --output-on-failure ${{ matrix.ctest_excludes }}

0 comments on commit fc04a08

Please sign in to comment.