Skip to content
Snippets Groups Projects
Commit 74fb9fee authored by Soeren Peters's avatar Soeren Peters
Browse files

Cache gcov build folder and remove the schedule variable.

parent f54e3842
No related branches found
No related tags found
No related merge requests found
...@@ -231,8 +231,6 @@ lizard: ...@@ -231,8 +231,6 @@ lizard:
gcov: gcov:
stage: test stage: test
only: ["schedules"]
before_script: before_script:
- export DEBIAN_FRONTEND=noninteractive - export DEBIAN_FRONTEND=noninteractive
- apt-get update - apt-get update
...@@ -240,9 +238,9 @@ gcov: ...@@ -240,9 +238,9 @@ gcov:
- gcovr --version - gcovr --version
script: script:
- mkdir $CI_PROJECT_DIR/build - mkdir $CI_PROJECT_DIR/gcov_build
- cd $CI_PROJECT_DIR/build - cd $CI_PROJECT_DIR/gcov_build
- cmake .. -DBUILD_VF_CPU=ON -DBUILD_VF_COVERAGE=ON -DBUILD_VF_UNIT_TESTS=ON - cmake .. -DBUILD_VF_CPU=ON -DBUILD_VF_GPU=ON -DBUILD_VF_COVERAGE=ON -DBUILD_VF_UNIT_TESTS=ON
- make -j4 - make -j4
- ./bin/basicsTests - ./bin/basicsTests
- cd .. - cd ..
...@@ -252,6 +250,8 @@ gcov: ...@@ -252,6 +250,8 @@ gcov:
artifacts: artifacts:
paths: paths:
- coverage/ - coverage/
- gcov_build/
reports: reports:
cobertura: coverage/coverage.xml cobertura: coverage/coverage.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment