Update .gitlab-ci.yml file

This commit is contained in:
Administrator 2022-01-23 15:42:09 +00:00
parent babfd4dd17
commit 9037edc3be

View File

@ -29,14 +29,16 @@ build-job: # This job runs in the build stage, which runs first.
- mkdir build - mkdir build
- cd build - cd build
- echo "execute cmake" - echo "execute cmake"
- cmake .. #- cmake ..
- cmake --build . #- cmake --build .
- echo "Compile complete." #- echo "Compile complete."
- ls -la #- ls -la
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
script: script:
- apt update
- apt install googletest
- mkdir build - mkdir build
- cd build - cd build
- echo "execute cmake" - echo "execute cmake"