From 479dca38af0418756fa634544ad23b6ff9d88dc4 Mon Sep 17 00:00:00 2001 From: Theophyl Hoguet Date: Mon, 14 Feb 2022 00:16:18 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5eda66..23cddc3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,7 @@ test-v1-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. script: - mkdir -p build + - cd build - echo "building project" - cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/c99-gcc .. - make VERBOSE=ON -j 18 | tee ./build.log @@ -47,6 +48,7 @@ test-v2-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. script: - mkdir -p build + - cd build - echo "building project" - cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/c99-gcc .. - make VERBOSE=ON -j 18 | tee ./build.log @@ -67,8 +69,8 @@ coverage-job: artifacts: false script: - mkdir -p build - - echo "building project" - cd build + - echo "building project" - cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/c99-gcc .. - make VERBOSE=ON -j 18 - ctest -R v1