diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c99ee05fd3858e1239e4a9775eadbd99dafcf7b..0bf894fa07c736188dd0ae4ce8276c1fc37e499d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,4 @@ stages: - - init - test_projects - build_mpich_gcc8 - build_openmpi_gcc8 @@ -17,23 +16,6 @@ before_script: # - ls -l ci - mkdir -p badges/ -badges: - stage: init - tags: - - linux - when: always - only: - - master - script: - ./ci/build_mpi.sh --badge-filename badge_build-openmpi_${CI_COMMIT_REF_NAME}.svg --badge-only - artifacts: - name: pages - when: always - paths: - - badges/ - allow_failure: true - - build-mpich-nofortran-gcc8: stage: build_mpich_gcc8 image: gitlab.version.fz-juelich.de:5555/slms/loadbalancing/mpich-gcc8-full @@ -42,11 +24,6 @@ build-mpich-nofortran-gcc8: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-nofortran-gcc9: @@ -57,11 +34,6 @@ build-mpich-nofortran-gcc9: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-nofortran-gcc10: @@ -72,11 +44,6 @@ build-mpich-nofortran-gcc10: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc8: @@ -87,11 +54,6 @@ build-mpich-fortran-gcc8: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc9: @@ -102,11 +64,6 @@ build-mpich-fortran-gcc9: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-gcc10: @@ -117,11 +74,6 @@ build-mpich-fortran-gcc10: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false #build-mpich-fortran-f08-gcc8: @@ -132,11 +84,6 @@ build-mpich-fortran-gcc10: # when: always # script: # - ./ci/build_mpi_fortran_f08.sh -# artifacts: -# name: pages -# when: always -# paths: -# - badges/ # allow_failure: true build-mpich-fortran-f08-gcc9: @@ -147,11 +94,6 @@ build-mpich-fortran-f08-gcc9: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-fortran-f08-gcc10: @@ -162,11 +104,6 @@ build-mpich-fortran-f08-gcc10: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc8: @@ -177,11 +114,6 @@ build-mpich-voronoi-gcc8: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc9: @@ -192,11 +124,6 @@ build-mpich-voronoi-gcc9: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-voronoi-gcc10: @@ -207,11 +134,6 @@ build-mpich-voronoi-gcc10: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc8: @@ -222,11 +144,6 @@ build-openmpi-nofortran-gcc8: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc9: @@ -237,11 +154,6 @@ build-openmpi-nofortran-gcc9: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-nofortran-gcc10: @@ -252,11 +164,6 @@ build-openmpi-nofortran-gcc10: when: always script: - ./ci/build_mpi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc8: @@ -267,11 +174,6 @@ build-openmpi-fortran-gcc8: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc9: @@ -282,11 +184,6 @@ build-openmpi-fortran-gcc9: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-gcc10: @@ -297,11 +194,6 @@ build-openmpi-fortran-gcc10: when: always script: - ./ci/build_mpi_fortran.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-fortran-f08-gcc8: @@ -312,11 +204,6 @@ build-openmpi-fortran-f08-gcc8: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-fortran-f08-gcc9: @@ -327,11 +214,6 @@ build-openmpi-fortran-f08-gcc9: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-fortran-f08-gcc10: @@ -342,11 +224,6 @@ build-openmpi-fortran-f08-gcc10: when: always script: - ./ci/build_mpi_fortran_f08.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc8: @@ -357,11 +234,6 @@ build-openmpi-voronoi-gcc8: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc9: @@ -372,11 +244,6 @@ build-openmpi-voronoi-gcc9: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-openmpi-voronoi-gcc10: @@ -387,11 +254,6 @@ build-openmpi-voronoi-gcc10: when: always script: - ./ci/build_mpi_voronoi.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-mpich-complete-gcc8: @@ -402,11 +264,6 @@ build-mpich-complete-gcc8: when: always script: - ./ci/build_mpi_complete_gcc8.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: true build-mpich-complete-gcc9: @@ -417,11 +274,6 @@ build-mpich-complete-gcc9: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-mpich-complete-gcc10: @@ -432,11 +284,6 @@ build-mpich-complete-gcc10: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc8: @@ -447,11 +294,6 @@ build-openmpi-complete-gcc8: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc9: @@ -462,11 +304,6 @@ build-openmpi-complete-gcc9: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false build-openmpi-complete-gcc10: @@ -477,11 +314,6 @@ build-openmpi-complete-gcc10: when: always script: - ./ci/build_mpi_complete.sh - artifacts: - name: pages - when: always - paths: - - badges/ allow_failure: false test-project-cmake: diff --git a/ci/build_mpi.sh b/ci/build_mpi.sh index c0567955703e5a873f597f12bd8dfbd4a124bf17..4733e3b78080a8269f56f6e2d8132397f377a376 100755 --- a/ci/build_mpi.sh +++ b/ci/build_mpi.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -16,12 +12,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpif90 ${CMAKE} .. ${CMAKE} .. make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_complete.sh b/ci/build_mpi_complete.sh index 670a31ed711effefe7e74c9a19dc4fee337b4554..aedfd0d2a667ce8edff48b4b3d407bf34312a13d 100755 --- a/ci/build_mpi_complete.sh +++ b/ci/build_mpi_complete.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -17,12 +13,4 @@ if [[ $? == 0 ]]; then ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON -DCM_ALL_VORONOI=ON -DCM_ALL_VTK_OUTPUT=ON -DCM_ALL_TESTS=ON -DCM_ALL_AUTO_DOC=ON -DVTK_DIR=/usr/local/lib/cmake/vtk-7.1 make VERBOSE=1 make test - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_complete_gcc8.sh b/ci/build_mpi_complete_gcc8.sh index a91b282085d9baf767156fe0bb5c3f6c4d81d545..e8ba3ad11d9834fa17addb80b0a5f109f2a5321a 100755 --- a/ci/build_mpi_complete_gcc8.sh +++ b/ci/build_mpi_complete_gcc8.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -17,12 +13,4 @@ if [[ $? == 0 ]]; then ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_VORONOI=ON -DCM_ALL_VTK_OUTPUT=ON -DCM_ALL_TESTS=ON -DCM_ALL_AUTO_DOC=ON -DVTK_DIR=/usr/local/lib/cmake/vtk-7.1 make VERBOSE=1 make test - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_fortran.sh b/ci/build_mpi_fortran.sh index df30360f95fc895ff10ab73f25108ffa19aff05c..c75ddfb85d2ae8bc7e6e9da23b57d5ace674c1b7 100755 --- a/ci/build_mpi_fortran.sh +++ b/ci/build_mpi_fortran.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -19,12 +15,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpifort ${CMAKE} .. -DCM_ALL_FORTRAN=ON ${CMAKE} .. -DCM_ALL_FORTRAN=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_fortran_f08.sh b/ci/build_mpi_fortran_f08.sh index b998fb0c5d51ab518890333dd7193091a89b1ab6..f6509e643aa16c506123511e4031c0176533ad57 100755 --- a/ci/build_mpi_fortran_f08.sh +++ b/ci/build_mpi_fortran_f08.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -19,12 +15,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpifort ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON ${CMAKE} .. -DCM_ALL_FORTRAN=ON -DCM_ALL_USE_F08=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1 diff --git a/ci/build_mpi_voronoi.sh b/ci/build_mpi_voronoi.sh index 9d68a221d928c1212a473b42abb7f81fe737325f..c04899424c2fa5875a8fcac01e74f0b0d9f15128 100755 --- a/ci/build_mpi_voronoi.sh +++ b/ci/build_mpi_voronoi.sh @@ -1,10 +1,6 @@ #!/bin/bash source $(cd "$(dirname "$0")"; pwd -P)/ci_funcs.sh -# create badge -create_badge "${BADGE_FILENAME}" build-mpi unknown "--color=#808080" -[[ ${BADGE_ONLY} ]] && pushbadge_exit "${BADGE_FILENAME}" 0 - # load MPI environment load_MPI @@ -16,12 +12,4 @@ if [[ $? == 0 ]]; then #CC=/usr/lib64/mpi/gcc/openmpi3/bin/mpicc CXX=/usr/lib64/mpi/gcc/openmpi3/bin/mpicxx FC=/usr/lib64/mpi/gcc/openmpi3/bin/mpif90 ${CMAKE} .. -DCM_ALL_VORONOI=ON ${CMAKE} .. -DCM_ALL_VORONOI=ON make VERBOSE=1 - - if [[ $? == 0 ]]; then - create_badge "${BADGE_FILENAME}" build-mpi passed --color=green - pushbadge_exit "${BADGE_FILENAME}" 0 - fi fi - -create_badge "${BADGE_FILENAME}" build-mpi failed --color=red -pushbadge_exit "${BADGE_FILENAME}" 1