Skip to content
Snippets Groups Projects
Commit 5315d2ff authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

Update .gitlab-ci.yml file

parent 0193d490
No related branches found
No related tags found
No related merge requests found
image: anddebol/pbl-tests:latest
stages: # List of stages for jobs, and their order of execution
- build
- test
build-job: # This job runs in the build stage, which runs first.
stage: build
script:
- echo "Compiling the code..."
- mkdir build && cd build
- >-
cmake -DCMAKE_C_COMPLER=gcc -DCMAKE_CXX_COMPILER=g++
-DCMAKE_Fortran_COMPILER -S ..
- make -j 4
- echo "Compile complete."
timeout: 10 minutes
artifacts:
paths:
- build/CMakeCache.txt
- build/inmcm_sfx
dry-run: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests... This will take about 60 seconds."
- cd build
- inmcm_sfx
- echo "Code coverage is 90%"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment