Skip to content
Snippets Groups Projects
.gitlab-ci.yml 2.73 KiB
Newer Older
  • Learn to ignore specific revisions
  • variables:
      DUNECI_CMAKE_FLAGS: "-DDUNE_PYTHON_FORCE_PYTHON3=TRUE"
    
    
    before_script: &before
    
      - duneci-install-module https://gitlab.dune-project.org/fufem/dune-matrix-vector.git
    
      - duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
    
      - duneci-install-module https://gitlab.dune-project.org/fufem/dune-fufem.git
    
      - duneci-install-module https://gitlab.mn.tu-dresden.de/ag-sander/dune/dune-elasticity.git
    
      - duneci-install-module https://gitlab.mn.tu-dresden.de/iwr/dune-gmsh4
    
    dune:2.9 gcc:
      variables:
        DUNECI_BRANCH: releases/2.9
      image: registry.dune-project.org/docker/ci/dune:2.9-debian-11-gcc-10-20
      before_script:
      - *before
      script: duneci-standard-test
    
    
    dune:git gcc-10 C++20:
      image: registry.dune-project.org/docker/ci/dune:git-debian-11-gcc-10-20
    
      before_script:
      - *before
    
    dune:git clang-11 C++20:
      image: registry.dune-project.org/docker/ci/dune:git-debian-11-clang-11-20
    
      before_script:
      - *before
    
    dune:git dune-parmg dune-vtk dune-curvedgeometry dune-curvedgrid dune-foamgrid gcc-10 C++20:
      image: registry.dune-project.org/docker/ci/dune:git-debian-11-gcc-10-20
    
      before_script:
      - *before
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/paraphase/dune-parmg.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/spraetor/dune-vtk.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/spraetor/dune-curvedgeometry.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/iwr/dune-curvedgrid.git
    
      - duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
    
      script: duneci-standard-test
    
    
    dune:git dune-parmg dune-vtk dune-curvedgeometry dune-curvedgrid dune-foamgrid clang-11 C++20:
      image: registry.dune-project.org/docker/ci/dune:git-debian-11-clang-11-20
    
      before_script:
      - *before
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/paraphase/dune-parmg.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/spraetor/dune-vtk.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/spraetor/dune-curvedgeometry.git
    
      - duneci-install-module https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.mn.tu-dresden.de/iwr/dune-curvedgrid.git
    
      - duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
    
      script: duneci-standard-test
    
    
    # Check for spelling mistakes in text
    code-spelling-check:
      stage: .pre
      # Avoid the global 'before_script'
      before_script: ""
      image: registry.dune-project.org/docker/ci/debian:11
      script:
      - codespell