Skip to content
Snippets Groups Projects
Commit 39b8e51d authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Run pipeline only on C++ derived binaries

parent 2aeadeb3
No related branches found
No related tags found
No related merge requests found
...@@ -38,8 +38,8 @@ building_stage: ...@@ -38,8 +38,8 @@ building_stage:
- echo $CI_COMMIT_SHA - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- cd src - cd src
- echo "Running make" - echo "Running make (ONLY C++ CODE)"
- make - make conly
running_stage: running_stage:
stage: run stage: run
...@@ -62,18 +62,12 @@ running_stage: ...@@ -62,18 +62,12 @@ running_stage:
- echo $CI_COMMIT_SHA - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- cd build/sphere - cd build/sphere
- echo "Running SPH"
- chmod +x edfb sph np_sphere
- ./edfb
- ./sph
- echo "Running np_sphere" - echo "Running np_sphere"
- chmod +x np_sphere
- ./np_sphere - ./np_sphere
- cd ../cluster - cd ../cluster
- echo "Running CLU"
- chmod +x edfb clu np_cluster
- ./edfb
- ./clu
- echo "Running np_cluster" - echo "Running np_cluster"
- chmod +x np_cluster
- ./np_cluster - ./np_cluster
testing_stage: testing_stage:
...@@ -96,9 +90,11 @@ testing_stage: ...@@ -96,9 +90,11 @@ testing_stage:
- echo $CI_COMMIT_SHA - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BRANCH - echo $CI_COMMIT_BRANCH
- cd build/sphere - cd build/sphere
- cp ../../test_data/sphere/OSPH .
- echo "Comparing output of SPHERE" - echo "Comparing output of SPHERE"
- python3 ../../src/scripts/pycompare.py --ffile=OSPH --cfile=c_OSPH --html - python3 ../../src/scripts/pycompare.py --ffile=OSPH --cfile=c_OSPH --html
- cd ../cluster - cd ../cluster
- echo "Comparing output of CLUSTER" - echo "Comparing output of CLUSTER"
- cp ../../test_data/cluster/OCLU .
- python3 ../../src/scripts/pycompare.py --ffile=OCLU --cfile=c_OCLU --html - python3 ../../src/scripts/pycompare.py --ffile=OCLU --cfile=c_OCLU --html
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