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

Daniel Wortmann's avatar
Daniel Wortmann committed
8
build-gfortran:
9
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
10 11 12 13 14
  stage: build
  cache: 
     paths:
       - build
  script:
15
    - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make 
Daniel Wortmann's avatar
Daniel Wortmann committed
16
test-gfortran:
17
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
18 19 20 21 22
  stage: test
  cache:
     paths:
       - build
  script:
23
    - 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
24

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

43
build-pgi:
44
  image: iffregistry.fz-juelich.de/fleur/fleur:pgi
45 46 47 48 49
  stage: build-pgi
  cache: 
     paths:
       - build.debug
  script:
50
    - cd /builds/fleur/fleur; ./configure.sh -d AUTO ; cd build.debug; make 
51 52
  only:
    - schedules
53 54 55
    - triggers
    - web
 
56 57
    
test-pgi:
58
  image: iffregistry.fz-juelich.de/fleur/fleur:pgi
59 60 61 62 63 64 65
  stage: test-pgi
  cache:
     paths:
       - build.debug
  script:
    - cd /builds/fleur/fleur/build.debug;ctest
  only:
66 67 68
     - schedules
     - web
     - triggers