From 697efc522733a2d2c5e606af64f3329274da5ecf Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Wed, 25 Sep 2024 22:42:42 +0200 Subject: [PATCH] [INFRA] Fix sanitizer --- .github/workflows/ci_sanitizer.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_sanitizer.yml b/.github/workflows/ci_sanitizer.yml index a5e5bfcb..30b33d11 100644 --- a/.github/workflows/ci_sanitizer.yml +++ b/.github/workflows/ci_sanitizer.yml @@ -15,7 +15,6 @@ concurrency: env: TZ: Europe/Berlin - ASAN_OPTIONS: strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_leaks=1 TSAN_OPTIONS: ignore_noninstrumented_modules=1 UBSAN_OPTIONS: print_stacktrace=1 @@ -28,6 +27,8 @@ jobs: name: ${{ matrix.name }} ${{ matrix.build_type }} ${{ matrix.os }} runs-on: ${{ matrix.os }} if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' + env: + ASAN_OPTIONS: strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_leaks=${{ contains(matrix.os, 'macos') && '0' || '1' }} strategy: fail-fast: false matrix: