---
.common: &common
  script: duneci-standard-test

before_script:
  - . /duneci/bin/duneci-init-job
  - duneci-install-module https://gitlab.dune-project.org/core/dune-common.git
  - duneci-install-module https://gitlab.dune-project.org/core/dune-geometry.git
  - duneci-install-module https://gitlab.dune-project.org/core/dune-grid.git
  - duneci-install-module https://gitlab.dune-project.org/core/dune-istl.git
  - duneci-install-module https://gitlab.dune-project.org/core/dune-localfunctions.git
  - duneci-install-module https://gitlab.dune-project.org/staging/dune-typetree.git
  - duneci-install-module https://gitlab.dune-project.org/staging/dune-functions.git
  - duneci-install-module https://gitlab.dune-project.org/extensions/dune-foamgrid.git
  - duneci-install-module https://gitlab.mn.tu-dresden.de/spraetor/dune-curvedgeometry.git

debian:11 gcc-9-20:
  <<: *common
  image: registry.dune-project.org/docker/ci/debian:11
  variables:
    DUNECI_TOOLCHAIN: gcc-9-20

debian:10 gcc-8-noassert-17:
  <<: *common
  image: registry.dune-project.org/docker/ci/debian:10
  variables:
    DUNECI_TOOLCHAIN: gcc-8-noassert-17

debian:10 gcc-7-17:
  <<: *common
  image: registry.dune-project.org/docker/ci/debian:10
  variables:
    DUNECI_TOOLCHAIN: gcc-7-17

debian:10 clang-7-libcpp-17:
  <<: *common
  image: registry.dune-project.org/docker/ci/debian:10
  variables:
    DUNECI_TOOLCHAIN: clang-7-libcpp-17

ubuntu:18.04 clang-6-17:
  <<: *common
  image: registry.dune-project.org/docker/ci/ubuntu:18.04
  variables:
    DUNECI_TOOLCHAIN: clang-6-17

