diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08688b7..4fc25fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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.