stages: - build - test - coverage - deploy - build-pgi - test-pgi - build-intel - test-intel build-gfortran-hdf5: image: iffregistry.fz-juelich.de/fleur/fleur:latest stage: build cache: paths: - build script: - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make -j 4 # only: # - schedules # - triggers # - web test-gfortran-hdf5: image: iffregistry.fz-juelich.de/fleur/fleur:latest stage: test cache: paths: - build script: - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";export OMP_NUM_THREADS=4;cd /builds/fleur/fleur/build;ctest artifacts: when: on_failure paths: - build/Testing/failed - build/Testing/test.oldlogs # only: # - schedules # - triggers # - web pages: image: iffregistry.fz-juelich.de/fleur/fleur:latest stage: deploy cache: paths: - build - public script: - cd /builds/fleur/fleur/build ; make doc - mv docs/html/ ../public/ - mv /builds/fleur/fleur/docs/Docu_main.html ../public/index.html environment: name: Doxygen url: https://fleur.iffgit.fz-juelich.de/fleur artifacts: paths: - public - build/fleur - build/fleur_MPI - build/inpgen only: - schedules - triggers - web #build-pgi: # image: iffregistry.fz-juelich.de/fleur/fleur:pgi # stage: build-pgi # cache: # paths: # - build.debug # script: # - cd /builds/fleur/fleur; ./configure.sh -d AUTO ; cd build.debug; make # only: # - schedules # - triggers # - web #test-pgi: # image: iffregistry.fz-juelich.de/fleur/fleur:pgi # stage: test-pgi # cache: # paths: # - build.debug # script: # - cd /builds/fleur/fleur/build.debug;ctest # only: # - schedules # - web # - triggers build-intel: image: iffregistry.fz-juelich.de/docker-images/centos7-intel-compilers/extended stage: build-intel cache: paths: - build.intel script: - set +e && source compilervars.sh intel64 && set -e ; ulimit -s unlimited - cd /builds/fleur/fleur; FC=mpiifort FLEUR_LIBRARIES="-lmkl_scalapack_lp64;-lmkl_blacs_intelmpi_lp64" ./configure.sh -t -l intel INTEL_MPI ; cd build.intel; make -j 4 only: - schedules - triggers - web test-intel: image: iffregistry.fz-juelich.de/docker-images/centos7-intel-compilers/extended stage: test-intel cache: paths: - build.intel script: - set +e && source compilervars.sh intel64 && set -e; ulimit -s unlimited - cd /builds/fleur/fleur/build.intel;ctest artifacts: when: on_failure paths: - build/Testing/failed - build/Testing/test.oldlogs only: - schedules - web - triggers gfortran-coverage: image: iffregistry.fz-juelich.de/fleur/fleur:latest stage: coverage cache: paths: - build script: - cd /builds/fleur/fleur; ./configure.sh -l coverage -flags --coverage GITLAB; cd build.coverage; make -j 4 - lcov --capture --initial -d CMakeFiles -o baseline.info - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";ctest - lcov --capture -d CMakeFiles -o after.info - lcov --add-tracefile baseline.info --add-tracefile after.info -o combined.info - genhtml combined.info --output-directory html_out - mkdir ../public;mv html_out ../public/coverage_html artifacts: paths: - public environment: name: Coverage url: https://fleur.iffgit.fz-juelich.de/fleur/coverage_html only: - web - schedules