test:clang14-mpi-debug:
  image: localhost:5000/ubuntu_jammy_clang14_mpi
  stage: test
  needs: []
  script:
    - mkdir -p build/clang14-debug-mpi
    - cd build/clang14-debug-mpi
    - CXX=clang++-14 CC=clang-14 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
    - make -j 4
    - make check
  cache:
    key: "${CI_COMMIT_REF_SLUG}-clang11-debug-mpi"
    paths:
      - build/clang14-debug-mpi
    untracked: true
