From f1d806959f36248476d0afd09117421bd37a0d5a Mon Sep 17 00:00:00 2001 From: Algiane Froehly Date: Thu, 11 Apr 2024 16:30:29 +0200 Subject: [PATCH] dbg 2. --- .github/workflows/code-cov.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 038e79aa3..311e5f336 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -132,18 +132,14 @@ jobs: steps: - name: Set cmake_build_type and export coverage flags run: | - if ${{ matrix.os == 'ubuntu-20.04' && inputs.code_coverage == true }}; then + if ${{ matrix.os == 'ubuntu-20.04' }}; then # if code coverage is enabled, linux build is runned in Debug mode - if [[ ${{ inputs.cmake_build_type }} != Debug ]]; then - echo "WARNING: build type is forced to debug mode on ubuntu to allow coverage." - fi - echo "BUILD_TYPE=Debug" >> "$GITHUB_ENV" echo "C_FLG_PROF=-fprofile-arcs -ftest-coverage" >> "$GITHUB_ENV" else - echo "BUILD_TYPE=${{ inputs.cmake_build_type }}" >> "$GITHUB_ENV" + echo "BUILD_TYPE=RelWithDebInfo" >> "$GITHUB_ENV" fi shell: bash