.gitlab-ci.yml 2.25 KB
Newer Older
1
stages:
Daniel Wortmann's avatar
Daniel Wortmann committed
2 3 4 5 6
   - build
   - test
   - deploy
   - build-pgi
   - test-pgi
Daniel Wortmann's avatar
Daniel Wortmann committed
7 8
   - build-intel
   - test-intel
9

Daniel Wortmann's avatar
Daniel Wortmann committed
10
build-gfortran:
11
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
12 13 14 15 16
  stage: build
  cache: 
     paths:
       - build
  script:
17
    - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make 
18 19 20 21 22
  only:
    - schedules
    - triggers
    - web

Daniel Wortmann's avatar
Daniel Wortmann committed
23
test-gfortran:
24
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
25 26 27 28 29
  stage: test
  cache:
     paths:
       - build
  script:
30
    - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest
31 32 33 34
  only:
    - schedules
    - triggers
    - web
35
  
36
pages:
37
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
38 39 40 41
  stage: deploy
  cache:
     paths:
       - build
42 43 44 45 46 47
  script:
    - cd /builds/fleur/fleur/build ; make doc
    - mv docs/html/ ../public/
  artifacts:
    paths:
      - public
48 49 50
      - build/fleur
      - build/fleur_MPI
      - build/inpgen
51 52 53 54
  only:
    - schedules
    - triggers
    - web 
55

56 57 58 59 60 61 62 63 64 65 66 67
#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
68
 
69
    
70 71 72 73 74 75 76 77 78 79 80 81
#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
82 83 84 85 86 87 88 89 90
     
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
Daniel Wortmann's avatar
Daniel Wortmann committed
91
    - cd /builds/fleur/fleur; FC=mpiifort  FLEUR_LIBRARIES="-lmkl_scalapack_lp64;-lmkl_blacs_intelmpi_lp64" ./configure.sh -l intel AUTO ; cd build.intel; make 
92 93 94 95
#  only:
#    - schedules
#    - triggers
#    - web
96 97 98 99 100 101 102 103 104 105 106
 
    
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
    - cd /builds/fleur/fleur/build.intel;ctest
107 108 109 110
#  only:
#     - schedules
#     - web
#     - triggers