Skip to content

Commit

Permalink
Override gcov for x86 (32-bit) only
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Oct 13, 2024
1 parent 3b0acf6 commit 049fb84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -552,14 +552,14 @@ jobs:
- name: Build
env:
CMAKE_MESSAGE_LOG_LEVEL: VERBOSE
#CODECOV_GCOV: ${{ matrix.arch == 'x86' && 'C:/mingw64/bin/gcov.exe' || '' }}
CODECOV_GCOV: ${{ matrix.aqtTools && 'D:/a/dokit/Qt/Tools/mingw1310_64/bin/gcov.exe' || 'C:/mingw64/bin/gcov.exe' }}
CODECOV_GCOV_FLAG: ${{ matrix.arch == 'x86' && '-D' || '-U' }}
CODECOV_GCOV_VALUE: CODECOV_GCOV${{ matrix.arch == 'x86' && '=C:/mingw64/bin/gcov.exe' || '' }}
ENABLE_COVERAGE: ${{ matrix.toolchain == 'msvc' && 'false' || 'true' }}
PROJECT_BUILD_ID: ${{ github.run_number }}.win.${{ matrix.arch }}.${{ matrix.toolchain }}.qt-${{ matrix.qt }}
run: |
echo "%PATH%"
cmake -D CMAKE_BUILD_TYPE=Release ^
-D CODECOV_GCOV=%CODECOV_GCOV% ^
%CODECOV_GCOV_FLAG% %CODECOV_GCOV_VALUE% ^
-D ENABLE_COVERAGE=%ENABLE_COVERAGE% ^
-D QT_HOST_PATH=%qtHostPath% ^
-D QT_INSTALL_DOCS=%RUNNER_WORKSPACE%\Qt\Docs\Qt-${{ matrix.qt }} ^
Expand Down

0 comments on commit 049fb84

Please sign in to comment.