diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d25e4aafbc1766db8258b06645e6f6163055c4a4..5d198122b22db2150f3eb3ab6334007a14db22c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,34 +8,7 @@ variables: include: - local: '/.gitlab-ci/gcc8-seq-dbg.yml' - -build:clang8-seq-coverage: - image: localhost:5000/ubuntu_clang8 - stage: build - script: - - mkdir -p build/clang8-cov - - cd build/clang8-cov - - CXX=clang++-8 CC=clang-8 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8 - - make pugs - cache: - key: "${CI_COMMIT_REF_SLUG}-clang8-cov" - paths: - - build/clang8-cov - untracked: true - -test:clang8-seq-coverage: - image: localhost:5000/ubuntu_clang8 - stage: test - dependencies: - - build:clang8-seq-coverage - script: - - cd build/clang8-cov - - make coverage - cache: - key: "${CI_COMMIT_REF_SLUG}-clang8-cov" - paths: - - build/clang8-cov - untracked: true + - local: '/.gitlab-ci/clang8-seq-coverage.yml' build:clang8-mpi-coverage: image: localhost:5000/ubuntu_clang8_mpi diff --git a/.gitlab-ci/clang8-seq-coverage.yml b/.gitlab-ci/clang8-seq-coverage.yml new file mode 100644 index 0000000000000000000000000000000000000000..a79f27cb4802e51d87fbba2516db9225a2b4cf27 --- /dev/null +++ b/.gitlab-ci/clang8-seq-coverage.yml @@ -0,0 +1,27 @@ +build:clang8-seq-coverage: + image: localhost:5000/ubuntu_clang8 + stage: build + script: + - mkdir -p build/clang8-cov + - cd build/clang8-cov + - CXX=clang++-8 CC=clang-8 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage -DCLANG_FORMAT=/usr/bin/clang-format-8 + - make pugs + cache: + key: "${CI_COMMIT_REF_SLUG}-clang8-cov" + paths: + - build/clang8-cov + untracked: true + +test:clang8-seq-coverage: + image: localhost:5000/ubuntu_clang8 + stage: test + dependencies: + - build:clang8-seq-coverage + script: + - cd build/clang8-cov + - make coverage + cache: + key: "${CI_COMMIT_REF_SLUG}-clang8-cov" + paths: + - build/clang8-cov + untracked: true