Skip to content
Snippets Groups Projects
Commit ab243f67 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Merge branch 'gitlab/simplify-pipeline' into 'develop'

Change CI pipeline

See merge request !68
parents 218ab25c 6e763f14
No related branches found
No related tags found
1 merge request!68Change CI pipeline
stages:
- build
- test
- coverage
......@@ -9,7 +8,6 @@ variables:
include:
- local: '/.gitlab-ci/clang10-mpi-debug.yml'
- local: '/.gitlab-ci/clang10-mpi-release.yml'
- local: '/.gitlab-ci/gcc10-mpi-debug.yml'
- local: '/.gitlab-ci/gcc10-mpi-coverage.yml'
- local: '/.gitlab-ci/gcc10-mpi-release.yml'
- local: '/.gitlab-ci/gcc10-seq-coverage.yml'
......
build:clang10-mpi-debug:
image: localhost:5000/ubuntu_clang10_mpi
stage: build
needs: []
script:
- mkdir -p build/clang10-debug-mpi
- cd build/clang10-debug-mpi
- CXX=clang++-10 CC=clang-10 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-clang10-debug-mpi"
paths:
- build/clang10-debug-mpi
untracked: true
test:clang10-mpi-debug:
image: localhost:5000/ubuntu_clang10_mpi
stage: test
needs: ["build:clang10-mpi-debug"]
needs: []
script:
- mkdir -p build/clang10-debug-mpi
- cd build/clang10-debug-mpi
- CXX=clang++-10 CC=clang-10 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
- make test
- make
- make check
cache:
key: "${CI_COMMIT_REF_SLUG}-clang10-debug-mpi"
paths:
......
build:clang10-mpi-release:
image: localhost:5000/ubuntu_clang10_mpi
stage: build
needs: []
script:
- mkdir -p build/clang10-release-mpi
- cd build/clang10-release-mpi
- CXX=clang++-10 CC=clang-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=/usr/bin/clang-format-10
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-clang10-release-mpi"
paths:
- build/clang10-release-mpi
untracked: true
test:clang10-mpi-release:
image: localhost:5000/ubuntu_clang10_mpi
stage: test
needs: ["build:clang10-mpi-release"]
needs: []
script:
- mkdir -p build/clang10-release-mpi
- cd build/clang10-release-mpi
- CXX=clang++-10 CC=clang-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCLANG_FORMAT=/usr/bin/clang-format-10
- make test
- make
- make check
cache:
key: "${CI_COMMIT_REF_SLUG}-clang10-release-mpi"
paths:
......
coverage:gcc10-mpi-coverage:
image: localhost:5000/ubuntu_gcc10_mpi
stage: coverage
needs: []
script:
- mkdir -p build/gcc10-cov-mpi
- cd build/gcc10-cov-mpi
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage
- make pugs
- make
- make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-cov-mpi"
......
build:gcc10-mpi-debug:
image: localhost:5000/ubuntu_gcc10_mpi
stage: build
needs: []
script:
- mkdir -p build/gcc10-debug-mpi
- cd build/gcc10-debug-mpi
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-debug-mpi"
paths:
- build/gcc10-debug-mpi
untracked: true
test:gcc10-mpi-debug:
image: localhost:5000/ubuntu_gcc10_mpi
stage: test
needs: ["build:gcc10-mpi-debug"]
script:
- mkdir -p build/gcc10-debug-mpi
- cd build/gcc10-debug-mpi
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Debug
- make test
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-debug-mpi"
paths:
- build/gcc10-debug-mpi
untracked: true
build:gcc10-mpi-release:
image: localhost:5000/ubuntu_gcc10_mpi
stage: build
needs: []
script:
- mkdir -p build/gcc10-release-mpi
- cd build/gcc10-release-mpi
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-release-mpi"
paths:
- build/gcc10-release-mpi
untracked: true
test:gcc10-mpi-release:
image: localhost:5000/ubuntu_gcc10_mpi
stage: test
needs: ["build:gcc10-mpi-release"]
needs: []
script:
- mkdir -p build/gcc10-release-mpi
- cd build/gcc10-release-mpi
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release
- make
- make test
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-release-mpi"
......
coverage:gcc10-seq-coverage:
image: localhost:5000/ubuntu_gcc10
stage: coverage
needs: []
script:
- mkdir -p build/gcc10-cov
- cd build/gcc10-cov
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Coverage
- make pugs
- make
- make coverage
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-cov"
......
build:gcc10-seq-release:
image: localhost:5000/ubuntu_gcc10
stage: build
needs: []
script:
- mkdir -p build/gcc10-release-seq
- cd build/gcc10-release-seq
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release
- make pugs
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-release-seq"
paths:
- build/gcc10-release-seq
untracked: true
test:gcc10-seq-release:
image: localhost:5000/ubuntu_gcc10
stage: test
needs: ["build:gcc10-seq-release"]
needs: []
script:
- mkdir -p build/gcc10-release-seq
- cd build/gcc10-release-seq
- CXX=g++-10 CC=gcc-10 cmake ../.. -DCMAKE_BUILD_TYPE=Release
- make test
- make
- make check
cache:
key: "${CI_COMMIT_REF_SLUG}-gcc10-release-seq"
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment