Update .gitlab-ci.yml file
This commit is contained in:
parent
32191ed51d
commit
e9904c88fb
@ -37,6 +37,11 @@ build-job: # This job runs in the build stage, which runs first.
|
|||||||
unit-test-job: # This job runs in the test stage.
|
unit-test-job: # This job runs in the test stage.
|
||||||
stage: test # It only starts when the job in the build stage completes successfully.
|
stage: test # It only starts when the job in the build stage completes successfully.
|
||||||
script:
|
script:
|
||||||
|
- mkdir build
|
||||||
|
- cd build
|
||||||
|
- echo "execute cmake"
|
||||||
|
- cmake ..
|
||||||
|
- cmake --build .
|
||||||
- ls -la
|
- ls -la
|
||||||
- echo "Running unit tests..."
|
- echo "Running unit tests..."
|
||||||
- ctest
|
- ctest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user