.gitlab-ci.yml 1.35 KB
Newer Older
Daniel Wortmann's avatar
Daniel Wortmann committed
1
build-gfortran:
2
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
3 4 5 6 7
  stage: build
  cache: 
     paths:
       - build
  script:
8
    - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make 
Daniel Wortmann's avatar
Daniel Wortmann committed
9
test-gfortran:
10
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
11 12 13 14 15
  stage: test
  cache:
     paths:
       - build
  script:
16
    - 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
17 18 19 20 21 22
  artifacts:
     paths:
       - build/fleur
       - build/fleur_MPI
       - build/inpgen
    
Daniel Wortmann's avatar
Daniel Wortmann committed
23

24
pages:
25
  image: iffregistry.fz-juelich.de/fleur/fleur:latest
Daniel Wortmann's avatar
Daniel Wortmann committed
26 27 28 29
  stage: deploy
  cache:
     paths:
       - build
30 31 32 33 34 35 36
  script:
    - cd /builds/fleur/fleur/build ; make doc
    - mv docs/html/ ../public/
  artifacts:
    paths:
      - public
  # only publish a new site if commits are pushed to the master branch -> stable release
Daniel Wortmann's avatar
Daniel Wortmann committed
37 38
  #only:
  #  - release
39 40


Daniel Wortmann's avatar
Daniel Wortmann committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
#build-pgi:
#  image: hopobcn/pgi-ce
#  stage: build
#  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 
#test-pgi:
#  image: hopobcn/pgi-ce
#  stage: test
#  cache:
#     paths:
#       - build.debug
#  script:
#    - apt-get update -qq && apt-get install -y -qq cmake libxml2-dev 
#    - cd /builds/fleur/fleur/build.debug;ctest