diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a07816f21e4eaaf0420cff7d211dc08b079af3d..d25e4aafbc1766db8258b06645e6f6163055c4a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,33 +6,8 @@ stages: variables: CTEST_OUTPUT_ON_FAILURE: 1 -build:gcc8-seq-dbg: - image: localhost:5000/ubuntu_gcc8 - stage: build - script: - - mkdir -p build/gcc8-dbg - - cd build/gcc8-dbg - - CXX=g++-8 CC=gcc-8 cmake ../.. -DCMAKE_BUILD_TYPE=Debug - - make pugs - cache: - key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg" - paths: - - build/gcc8-dbg - untracked: true - -test:gcc8-seq-dbg: - image: localhost:5000/ubuntu_gcc8 - stage: test - dependencies: - - build:gcc8-seq-dbg - script: - - cd build/gcc8-dbg - - make run_unit_tests - cache: - key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg" - paths: - - build/gcc8-dbg - untracked: true +include: + - local: '/.gitlab-ci/gcc8-seq-dbg.yml' build:clang8-seq-coverage: image: localhost:5000/ubuntu_clang8 diff --git a/.gitlab-ci/gcc8-seq-dbg.yml b/.gitlab-ci/gcc8-seq-dbg.yml new file mode 100644 index 0000000000000000000000000000000000000000..5ed3909e1db73476a035429bf31f0744ff701b69 --- /dev/null +++ b/.gitlab-ci/gcc8-seq-dbg.yml @@ -0,0 +1,27 @@ +build:gcc8-seq-dbg: + image: localhost:5000/ubuntu_gcc8 + stage: build + script: + - mkdir -p build/gcc8-dbg + - cd build/gcc8-dbg + - CXX=g++-8 CC=gcc-8 cmake ../.. -DCMAKE_BUILD_TYPE=Debug + - make pugs + cache: + key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg" + paths: + - build/gcc8-dbg + untracked: true + +test:gcc8-seq-dbg: + image: localhost:5000/ubuntu_gcc8 + stage: test + dependencies: + - build:gcc8-seq-dbg + script: + - cd build/gcc8-dbg + - make run_unit_tests + cache: + key: "${CI_COMMIT_REF_SLUG}-gcc8-dbg" + paths: + - build/gcc8-dbg + untracked: true