Commit 5e101711 authored by Alexander Jaust's avatar Alexander Jaust
Browse files

[ci] update CI to use dedicated docker image and save patch on style failure

parent 973640d4
Pipeline #9691 failed with stages
in 8 minutes and 39 seconds
#image: dumux-precice:3.3git-iterative-pr-2.2.0
#image: dumux-precice:3.3-2.2.1
image: ub2004-dumux-precice:3.3-2.2.1
image: ub2004-style-check:clang-10
stages:
......@@ -8,7 +8,7 @@ stages:
- build
- test
check-style:
check-style-clang-10:
stage: check
script:
- ./scripts/format/run-clang-format.sh
......@@ -16,6 +16,7 @@ check-style:
- if [ -s style-patch.diff ]; then echo "Download the style patch as artifact and apply it or run ./scripts/format/run-clang-format.sh and commit again."; false; fi
needs: []
artifacts:
when: on_failure
paths:
- style-patch.diff
expire_in: 7 day
......@@ -44,6 +45,10 @@ build-iterative-coupling:3.3-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-iterative-coupling
build-iterative-coupling:3.4-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-iterative-coupling
build-iterative-coupling:master-2.2.1:
image: dumux-precice:master-2.2.1
rules:
......@@ -74,6 +79,10 @@ build-monolithic-coupling:3.3-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-monolithic-coupling
build-monolithic-coupling:3.4-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-monolithic-coupling
build-monolithic-coupling:master-2.2.1:
image: dumux-precice:master-2.2.1
rules:
......@@ -100,6 +109,12 @@ test-iterative-coupling:3.3-2.2.1:
needs:
- build-iterative-coupling:3.3-2.2.1
test-iterative-coupling:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *test-iterative-coupling
needs:
- build-iterative-coupling:3.4-2.2.1
.test_template: &test-monolithic-coupling
stage: test
script:
......@@ -117,6 +132,12 @@ test-monolithic-coupling:3.3-2.2.1:
needs:
- build-monolithic-coupling:3.3-2.2.1
test-monolithic-coupling:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *test-monolithic-coupling
needs:
- build-monolithic-coupling:3.4-2.2.1
.build_template: &build-monolithic-flow-over-step-2d
stage: build
script:
......@@ -141,6 +162,10 @@ build-monolithic-flow-over-step-2d:3.3-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-monolithic-flow-over-step-2d
build-monolithic-flow-over-step-2d:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *build-monolithic-flow-over-step-2d
build-monolithic-flow-over-step-2d:master-2.2.1:
image: dumux-precice:master-2.2.1
rules:
......@@ -164,6 +189,12 @@ test-monolithic-flow-over-step-2d:3.3-2.2.1:
needs:
- build-monolithic-flow-over-step-2d:3.3-2.2.1
test-monolithic-flow-over-step-2d:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *test-monolithic-flow-over-step-2d
needs:
- build-monolithic-flow-over-step-2d:3.4-2.2.1
.build_template: &build-monolithic-ff-pm-3d
stage: build
script:
......@@ -188,6 +219,10 @@ build-monolithic-ff-pm-3d:3.3-2.2.1:
image: ub2004-dumux-precice:3.3-2.2.1
<<: *build-monolithic-ff-pm-3d
build-monolithic-ff-pm-3d:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *build-monolithic-ff-pm-3d
build-monolithic-ff-pm-3d:master-2.2.1:
image: dumux-precice:master-2.2.1
rules:
......@@ -214,3 +249,8 @@ test-monolithic-ff-pm-3d:3.3-2.2.1:
needs:
- build-monolithic-ff-pm-3d:3.3-2.2.1
test-monolithic-ff-pm-3d:3.4-2.2.1:
image: ub2004-dumux-precice:3.4-2.2.1
<<: *test-monolithic-ff-pm-3d
needs:
- build-monolithic-ff-pm-3d:3.4-2.2.1
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment