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.
stage: build
script:
- echo "Compiling the code..."
- g++ helloworld.cpp -o helloworld
- echo "Preparing build"
- mkdir build
- cd build
- echo "execute cmake"
- cmake
- echo "execute make"
- make
- echo "Compile complete."
unit-test-job: # This job runs in the test stage.