feat: Pass sanitizer as part of conan_profile (#2189)

I noticed we don't need `sanitizer` value anymore, so removed it.
This commit is contained in:
Ayaz Salikhov
2025-06-10 16:04:00 +01:00
committed by GitHub
parent d3c98ab2a8
commit 6e0d7a0fac
7 changed files with 9 additions and 51 deletions

View File

@@ -33,11 +33,6 @@ on:
required: true
type: boolean
sanitizer:
description: Sanitizer to use
required: true
type: string
jobs:
unit_tests:
name: Unit testing ${{ inputs.container != '' && 'in container' || 'natively' }}
@@ -47,8 +42,8 @@ jobs:
if: inputs.run_unit_tests
env:
# TODO: remove when we have fixed all currently existing issues from sanitizers
SANITIZER_IGNORE_ERRORS: ${{ inputs.sanitizer != 'false' && inputs.sanitizer != 'ubsan' }}
# TODO: remove completely when we have fixed all currently existing issues with sanitizers
SANITIZER_IGNORE_ERRORS: ${{ endsWith(inputs.conan_profile, '.asan') || endsWith(inputs.conan_profile, '.tsan') }}
steps:
- name: Clean workdir