Skip to content

Commit

Permalink
Issue #10 - CMake job only builds and runs tests in Release config.
Browse files Browse the repository at this point in the history
  • Loading branch information
vldtecno committed Oct 27, 2023
1 parent cedac62 commit d8b2e8e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Coverage
BUILD_TYPE: Release
BUILD_EXAMPLES: true
BUILD_GMOCK: true
BUILD_IMPORT_EXPORT: true
Expand Down Expand Up @@ -46,13 +46,3 @@ jobs:
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{env.BUILD_TYPE}}

- name: InstallCoverageReportDependencies
run: sudo apt-get -y install lcov

- name: TestCoverageData
working-directory: ${{github.workspace}}/build/
run: geninfo ./PTN_Engine -b ../ -o coverage.info

- name: TestCoverageReport
working-directory: ${{github.workspace}}/build/
run: genhtml coverage.info -o CoverageReport

0 comments on commit d8b2e8e

Please sign in to comment.