.gitlab-ci.yml 1.56 KB
Newer Older
Daniel Wortmann's avatar
Daniel Wortmann committed
1 2 3 4 5 6 7
build-gfortran:
  image: ubuntu:16.10
  stage: build
  cache: 
     paths:
       - build
  script:
8 9
    - apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev doxygen libopenmpi-dev libscalapack-mpi-dev
    - cd /builds/fleur/fleur; ./configure.sh GITLAB; cd build; make 
Daniel Wortmann's avatar
Daniel Wortmann committed
10 11 12 13 14 15 16
test-gfortran:
  image: ubuntu:16.10
  stage: test
  cache:
     paths:
       - build
  script:
17
    - apt-get update -qq && apt-get install -y -qq build-essential gfortran gfortran-6 g++-6 gcc-6 binutils-gold git cmake libxml2-dev liblapack-dev libblas-dev libopenmpi-dev libscalapack-mpi-dev
18
    - 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
19 20


21 22 23 24 25 26 27 28 29 30 31 32 33 34
pages:
  stage: deploy:doc
  script:
    - apt-get update -qq && apt-get install doxygen cmake
    - 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
  only:
    - release


Daniel Wortmann's avatar
Daniel Wortmann committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
#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