From 0bcfd02974edd2acfd568fa43f251911e3cc702a Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 23 Jan 2022 14:40:46 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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.