.gitlab-ci.yml 1.32 KB
Newer Older
1 2 3 4 5 6 7
stages:
   -build
   -test
   -deploy
   -build-pgi
   -test-pgi

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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
build-pgi:
  image: hopobcn/pgi-ce
  stage: build-pgi
  cache: 
     paths:
       - build.debug
  script:
    - apt-get update -qq && apt-get install -y -qq cmake libxml2-dev
    - cd /builds/fleur/fleur; ./configure.sh AUTO debug; cd build.debug; make 
  only:
    - schedules
    
test-pgi:
  image: hopobcn/pgi-ce
  stage: test-pgi
  cache:
     paths:
       - build.debug
  script:
    - apt-get update -qq && apt-get install -y -qq cmake libxml2-dev 
    - cd /builds/fleur/fleur/build.debug;ctest
  only:
     -schedules