diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66a61e1cf5cdaafe583cec7753cbde05764374d2..f6101d1801630bbe293df6ead7f521e9acdd2dd8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,41 +25,39 @@ stages: building_stage: stage: build allow_failure: false - artifacts: - paths: - - build/cluster/* - - build/sphere/* - - build/trapping/* - exclude: - - ".git*" - - ".git/**/*" - expire_in: 2 hours + #artifacts: + # paths: + # - build/cluster/* + # - build/sphere/* + # - build/trapping/* + # exclude: + # - ".git*" + # - ".git/**/*" + # expire_in: 2 hours script: # bash commands to be executed - pwd - hostname - echo $CI_COMMIT_SHA - echo $CI_COMMIT_BRANCH - - module available - - module load gcc - cd src - echo "Running make (ONLY C++ CODE)" - - make conly + #- make conly running_stage: stage: run allow_failure: false needs: - job: building_stage - artifacts: - paths: - - build/cluster/* - - build/sphere/* - - build/trapping/* - exclude: - - ".git*" - - ".git/**/*" - expire_in: 2 hours + #artifacts: + # paths: + # - build/cluster/* + # - build/sphere/* + # - build/trapping/* + # exclude: + # - ".git*" + # - ".git/**/*" + # expire_in: 2 hours script: # bash commands to be executed - pwd @@ -68,26 +66,26 @@ running_stage: - echo $CI_COMMIT_BRANCH - cd build/sphere - echo "Running np_sphere" - - chmod +x np_sphere - - ./np_sphere + #- chmod +x np_sphere + #- ./np_sphere - cd ../cluster - echo "Running np_cluster" - - chmod +x np_cluster - - ./np_cluster + #- chmod +x np_cluster + #- ./np_cluster testing_stage: stage: test allow_failure: true needs: - job: running_stage - artifacts: - paths: - - build/cluster/pycompare.html - - build/sphere/pycompare.html - exclude: - - ".git*" - - ".git/**/*" - expire_in: 2 hours + #artifacts: + # paths: + # - build/cluster/pycompare.html + # - build/sphere/pycompare.html + # exclude: + # - ".git*" + # - ".git/**/*" + # expire_in: 2 hours script: # bash commands to be executed - pwd @@ -95,11 +93,11 @@ testing_stage: - echo $CI_COMMIT_SHA - echo $CI_COMMIT_BRANCH - cd build/sphere - - cp ../../test_data/sphere/OSPH . + #- cp ../../test_data/sphere/OSPH . - 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 - echo "Comparing output of CLUSTER" - - cp ../../test_data/cluster/OCLU . - - python3 ../../src/scripts/pycompare.py --ffile=OCLU --cfile=c_OCLU --html + #- cp ../../test_data/cluster/OCLU . + #- python3 ../../src/scripts/pycompare.py --ffile=OCLU --cfile=c_OCLU --html