.gitlab-ci.yml 2.08 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 
Daniel Wortmann's avatar
Daniel Wortmann committed
18
test-gfortran:
19
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
20 21 22 23 24
  stage: test
  cache:
     paths:
       - build
  script:
25
    - ulimit -s unlimited ;export juDFT_MPI="mpirun -n 2 --allow-run-as-root ";cd /builds/fleur/fleur/build;ctest
Daniel Wortmann's avatar
Daniel Wortmann committed
26

27
  
28
pages:
29
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
30 31 32 33
  stage: deploy
  cache:
     paths:
       - build
34 35 36 37 38 39
  script:
    - cd /builds/fleur/fleur/build ; make doc
    - mv docs/html/ ../public/
  artifacts:
    paths:
      - public
40 41 42 43
      - build/fleur
      - build/fleur_MPI
      - build/inpgen
 
44

45
build-pgi:
46
  image: iffregistry.fz-juelich.de/fleur/fleur:pgi
47 48 49 50 51
  stage: build-pgi
  cache: 
     paths:
       - build.debug
  script:
52
    - cd /builds/fleur/fleur; ./configure.sh -d AUTO ; cd build.debug; make 
53 54
  only:
    - schedules
55 56 57
    - triggers
    - web
 
58 59
    
test-pgi:
60
  image: iffregistry.fz-juelich.de/fleur/fleur:pgi
61 62 63 64 65 66 67
  stage: test-pgi
  cache:
     paths:
       - build.debug
  script:
    - cd /builds/fleur/fleur/build.debug;ctest
  only:
68 69 70
     - schedules
     - web
     - triggers
71 72 73 74 75 76 77 78 79
     
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
80
    - cd /builds/fleur/fleur; FC=mpiifort  FLEUR_LIBRARIES="-lmkl_scalapack_lp64;-lmkl_blacs_intelmpi_lp64" ./configure.sh -l intel AUTO ; cd build.intel; make 
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
  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
    - cd /builds/fleur/fleur/build.intel;ctest
  only:
     - schedules
     - web
     - triggers