Update .gitlab-ci.yml file

This commit is contained in:
Administrator 2022-01-23 16:07:58 +00:00
parent 29b2063cb7
commit aa59630f2e

View File

@ -44,12 +44,14 @@ unit-test-job: # This job runs in the test stage.
- echo "execute cmake" - echo "execute cmake"
- cmake .. - cmake ..
- cmake --build . - cmake --build .
- ls -la
- echo "Running unit tests..." - echo "Running unit tests..."
- export GTEST_OUTPUT="xml:report.xml" - export GTEST_OUTPUT="xml:report.xml"
- ctest - ctest
- ctest --gtest_output="xml:report.xml" - ctest --gtest_output="xml:report.xml"
- ./hello_test --gtest_output="xml:report.xml" - ./hello_test --gtest_output="xml:report.xml"
- ls -la
- cd ..
- ls -la
artifacts: artifacts:
when: always when: always
reports: reports: