Skip to content

Commit

Permalink
Better clang workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Bronek committed Dec 14, 2023
1 parent cda535f commit 44ca5f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ inputs:
runs:
using: composite
steps:
- name: update path for clang-14
shell: bash
run: |
echo "/usr/lib/llvm-14/bin/" >> $GITHUB_PATH
- name: configure
shell: bash
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ jobs:
with:
generator: Ninja
configuration: ${{ matrix.configuration }}
cmake-args: '-DCODE_COVERAGE_REPORT_FORMAT=xml'
cmake-args: "-DCODE_COVERAGE_REPORT_FORMAT=xml
-DCODE_COVERAGE_GCOV_TOOL=/usr/bin/gcov
-DCMAKE_CXX_FLAGS=\"-O0\"
-DCMAKE_C_FLAGS=\"-O0\""
cmake-target: coverage_report
- name: archive coverage results
uses: actions/upload-artifact@v3
Expand Down
4 changes: 0 additions & 4 deletions Builds/CMake/RippledCov.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ ProcessorCount(PROCESSOR_COUNT)
if (coverage)
if (DEFINED CODE_COVERAGE_TEST_PARALLELISM)
set(TEST_PARALLELISM ${CODE_COVERAGE_TEST_PARALLELISM})
elseif (DEFINED ENV{CODE_COVERAGE_TEST_PARALLELISM})
set(TEST_PARALLELISM $ENV{CODE_COVERAGE_TEST_PARALLELISM})
else()
set(TEST_PARALLELISM ${PROCESSOR_COUNT})
endif()

if (DEFINED CODE_COVERAGE_REPORT_FORMAT)
set(CODE_COVERAGE_FORMAT ${CODE_COVERAGE_REPORT_FORMAT})
elseif (DEFINED ENV{CODE_COVERAGE_REPORT_FORMAT})
set(CODE_COVERAGE_FORMAT $ENV{CODE_COVERAGE_REPORT_FORMAT})
else()
set(CODE_COVERAGE_FORMAT html-details)
endif()
Expand Down

0 comments on commit 44ca5f9

Please sign in to comment.