coverage:clang8-mpi-coverage:
  image: localhost:5000/ubuntu_clang8_mpi
  stage: coverage
  script:
    - mkdir -p build/clang8-cov-mpi
    - cd build/clang8-cov-mpi
    - CXX=clang++-8 CC=clang-8 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8
    - make pugs
    - make coverage
  cache:
    key: "${CI_COMMIT_REF_SLUG}-clang8-cov-mpi"
    paths:
      - build/clang8-cov-mpi
    untracked: true
