Update .gitlab-ci.yml file

This commit is contained in:
Administrator 2022-01-23 14:40:46 +00:00
parent f999d96c9a
commit 0bcfd02974

View File

@ -26,8 +26,13 @@ stages: # List of stages for jobs, and their order of execution
build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
stage: build stage: build
script: script:
- echo "Compiling the code..." - echo "Preparing build"
- g++ helloworld.cpp -o helloworld - mkdir build
- cd build
- echo "execute cmake"
- cmake
- echo "execute make"
- make
- echo "Compile complete." - echo "Compile complete."
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.