From c8c6c4d53f6c75e8212e0eab32fdbeb3fd22f354 Mon Sep 17 00:00:00 2001 From: satoren Date: Sun, 16 Jun 2024 07:26:34 +0000 Subject: [PATCH] enable sanitizers on tests --- .github/workflows/mediasoup-worker.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/mediasoup-worker.yaml b/.github/workflows/mediasoup-worker.yaml index 584d4c47e4..23dff9b14d 100644 --- a/.github/workflows/mediasoup-worker.yaml +++ b/.github/workflows/mediasoup-worker.yaml @@ -25,6 +25,18 @@ jobs: - os: ubuntu-22.04 cc: clang cxx: clang++ + - os: ubuntu-22.04 + cc: clang + cxx: clang++ + meson_args: '-Db_sanitize=undefined' + - os: ubuntu-22.04 + cc: clang + cxx: clang++ + meson_args: '-Db_sanitize=address' + - os: ubuntu-22.04 + cc: clang + cxx: clang++ + meson_args: '-Db_sanitize=thread' - os: macos-12 cc: gcc cxx: g++ @@ -49,6 +61,7 @@ jobs: MEDIASOUP_SKIP_WORKER_PREBUILT_DOWNLOAD: 'true' MEDIASOUP_LOCAL_DEV: 'true' MEDIASOUP_BUILDTYPE: ${{ matrix.build-type }} + MESON_ARGS: ${{ matrix.build.meson_args }} steps: - name: Checkout