Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
CI: fix coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Jul 31, 2022
1 parent 6245f48 commit 7e3b8c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
with:
path: cf4ocl

- name: Build cf4ocl
- name: Build cf4ocl, test against POCL and generate coverage report
run: |
cmake -S cf4ocl -B builds/cf4ocl \
-DCMAKE_BUILD_TYPE=Debug \
Expand All @@ -88,11 +88,6 @@ jobs:
- name: List available OpenCL devices (should only register POCL)
run: ./builds/cf4ocl/src/utils/ccl_devinfo

- name: Test cf4ocl against POCL
run: |
cd builds/cf4ocl
ctest
- name: Test cf4ocl against Oclgrind and check for memory leaks
run: |
cd builds/cf4ocl
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ((DEFINED CMAKE_BUILD_TYPE) AND (CMAKE_BUILD_TYPE STREQUAL "Debug"))
setup_target_for_coverage_lcov(
NAME codecov # Name for custom target
EXECUTABLE ${CMAKE_CTEST_COMMAND} # Name of the test driver executable that runs the tests
DEPENDENCIES tests # Dependencies to build first
DEPENDENCIES tests examples utils # Dependencies to build first
)

endif()
Expand Down

0 comments on commit 7e3b8c6

Please sign in to comment.