Update .gitlab-ci.yml file
This commit is contained in:
1 parent
5e522fcdca
commit
fa9d512a61
1 file changed
+3
-6
+3
-6
@@ -14,11 +14,10 @@ build-job: # This job runs in the build stage, which runs first.
|
||||
- mkdir -p build
|
||||
- cd build
|
||||
- cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/c99-gcc ..
|
||||
- make VERBOSE=ON -j 18 | tee ./build.log
|
||||
- make VERBOSE=ON -j 18 | tee ../build.log
|
||||
artifacts:
|
||||
expire_in: 10 minutes
|
||||
paths:
|
||||
- build/
|
||||
- build.log
|
||||
|
||||
test-v1-job: # This job runs in the test stage.
|
||||
@@ -31,13 +30,12 @@ test-v1-job: # This job runs in the test stage.
|
||||
- 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
|
||||
- make VERBOSE=ON -j 18
|
||||
- echo "Running tests V1..."
|
||||
- ctest -R v1 | tee ../test-v1-job.log
|
||||
artifacts:
|
||||
expire_in: 10 minutes
|
||||
paths:
|
||||
- build/
|
||||
- test-v1-job.log
|
||||
|
||||
test-v2-job: # This job runs in the test stage.
|
||||
@@ -50,13 +48,12 @@ test-v2-job: # This job runs in the test stage.
|
||||
- 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
|
||||
- make VERBOSE=ON -j 18
|
||||
- echo "Running tests V2..."
|
||||
- ctest -R v2 | tee ../test-v2-job.log
|
||||
artifacts:
|
||||
expire_in: 10 minutes
|
||||
paths:
|
||||
- build/
|
||||
- test-v2-job.log
|
||||
|
||||
### coverage
|
||||
|
||||
Reference in new issue
Block a user