]> granicus.if.org Git - libevent/commitdiff
ci: use ubuntu 22.04 with clang 11 for sanitizers build
authorAzat Khuzhin <azat@libevent.org>
Tue, 12 Jul 2022 05:03:36 +0000 (08:03 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 12 Jul 2022 05:08:25 +0000 (08:08 +0300)
There are periodically some heap-use-after-free reported in ratelim
tests by TSan, which I cannot reproduce locally and even on CI it is
flaky.

Let's try to use recent clang, maybe it fixes some issues in sanitizers.

Refs: #1206

.github/workflows/build.yml

index d9e84607e39b81a700aa51a1baded2ba3b0c3f67..4bc16cfb7d49d981bfba38d444e697b9723550c7 100644 (file)
@@ -46,12 +46,16 @@ jobs:
           - COMPILER_CLANG
           - TEST_EXPORT_STATIC
           - TEST_EXPORT_SHARED
-          - ASAN
-          - TSAN
-          - UBSAN
         include:
           - os: ubuntu-22.04
             EVENT_MATRIX: OPENSSL_3
+          # use recent ubuntu with recent clang for recent sanitizers
+          - os: ubuntu-22.04
+            EVENT_MATRIX: TSAN
+          - os: ubuntu-22.04
+            EVENT_MATRIX: ASAN
+          - os: ubuntu-22.04
+            EVENT_MATRIX: UBSAN
 
     steps:
       - uses: actions/checkout@v2.0.0