Skip to content
Snippets Groups Projects
Commit 7a2fe09a authored by mkirsz's avatar mkirsz
Browse files

Update .gitlab-ci.yml file

parent 594f56d3
No related branches found
No related tags found
No related merge requests found
Pipeline #33045 passed
...@@ -12,18 +12,37 @@ stages: ...@@ -12,18 +12,37 @@ stages:
- trigger - trigger
before_script: before_script:
- rm -rf ../CORE
- rm -rf ../MODELS
- git clone https://git.ecdf.ed.ac.uk/tadah/core.git ../CORE
- git clone https://git.ecdf.ed.ac.uk/tadah/models.git ../MODELS
- pwd
- ls -l
- mkdir -p ${DEBUG_DIR} - mkdir -p ${DEBUG_DIR}
- mkdir -p ${RELEASE_DIR} - mkdir -p ${RELEASE_DIR}
- export OMP_NUM_THREADS=${CPU_SIM} - export OMP_NUM_THREADS=${CPU_SIM}
build-debug-core:
stage: build
script:
- rm -rf ../CORE
- git clone https://git.ecdf.ed.ac.uk/tadah/core.git ../CORE
- cd ../CORE
- mkdir -p ${DEBUG_DIR}
- cd ${DEBUG_DIR}
- cmake .. -DCMAKE_CXX_FLAGS="-g -O1 -fsanitize=address -Wall -Wpedantic -pedantic-errors -Wextra --coverage"
- make -j ${CPU_BUILD}
build-debug-models:
stage: build
script:
- rm -rf ../MODELS
- git clone https://git.ecdf.ed.ac.uk/tadah/models.git ../MODELS
- cd ../MODELS
- mkdir -p ${DEBUG_DIR}
- cd ${DEBUG_DIR}
- cmake .. -DCMAKE_CXX_FLAGS="-g -O1 -fsanitize=address -Wall -Wpedantic -pedantic-errors -Wextra --coverage"
- make -j ${CPU_BUILD}
build-debug: build-debug:
stage: build stage: build
needs:
job: build-debug-core
job: build-debug-models
script: script:
- cd ${DEBUG_DIR} - cd ${DEBUG_DIR}
- cmake .. -DCMAKE_CXX_FLAGS="-g -O1 -fsanitize=address -Wall -Wpedantic -pedantic-errors -Wextra --coverage" - cmake .. -DCMAKE_CXX_FLAGS="-g -O1 -fsanitize=address -Wall -Wpedantic -pedantic-errors -Wextra --coverage"
......
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