diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-03-04 09:15:37 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-03-04 09:30:21 +0000 |
commit | 85af7f21692d92d7bdf18522ad19e2d411d11c5c (patch) | |
tree | 2ee0f595e75f3a4ed87151f583b37100586d4771 /.github | |
parent | 7eb21516ad9a1bd8e7e7b16198e0a4eda299e87d (diff) | |
download | libgit2-85af7f21692d92d7bdf18522ad19e2d411d11c5c.tar.gz |
ci: enable UBSan stacktracesethomson/treebuilder_write
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7179a613d..38c79faf8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -123,6 +123,7 @@ jobs: SKIP_SSH_TESTS: true SKIP_NEGOTIATE_TESTS: true ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10 + UBSAN_OPTIONS: print_stacktrace=1 os: ubuntu-latest - # Focal, Clang 10, OpenSSL, UndefinedBehaviorSanitizer container: @@ -135,6 +136,7 @@ jobs: SKIP_SSH_TESTS: true SKIP_NEGOTIATE_TESTS: true ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10 + UBSAN_OPTIONS: print_stacktrace=1 os: ubuntu-latest - # Focal, Clang 10, OpenSSL, ThreadSanitizer container: @@ -147,6 +149,7 @@ jobs: SKIP_SSH_TESTS: true SKIP_NEGOTIATE_TESTS: true ASAN_SYMBOLIZER_PATH: /usr/bin/llvm-symbolizer-10 + UBSAN_OPTIONS: print_stacktrace=1 TSAN_OPTIONS: suppressions=/home/libgit2/source/script/thread-sanitizer.supp second_deadlock_stack=1 os: ubuntu-latest - # macOS @@ -242,6 +245,7 @@ jobs: -e SKIP_NEGOTIATE_TESTS \ -e SKIP_SSH_TESTS \ -e TSAN_OPTIONS \ + -e UBSAN_OPTIONS \ ${{ env.docker-registry-container-sha }} \ /bin/bash -c "mkdir build && cd build && ../ci/build.sh && ../ci/test.sh" else |