diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52e3021..cf5e1f8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,37 +19,17 @@ default: image: rikorose/gcc-cmake stages: # List of stages for jobs, and their order of execution - - build - test -build-job: # This job runs in the build stage, which runs first. - stage: build - script: - - echo "Preparing build" - - mkdir build - - cd build - - echo "execute cmake" - #- cmake .. - #- cmake --build . - #- echo "Compile complete." - #- ls -la - unit-test-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. script: - #- apt update - #- apt install googletest - mkdir build - cd build - - echo "execute cmake" - cmake .. - cmake --build . - - echo "Running unit tests..." - export GTEST_OUTPUT="xml:report.xml" - ctest - #- ls -la - #- ctest --gtest_output="xml:report.xml" - - ls -la artifacts: when: always reports: