-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
66 lines (59 loc) · 1.83 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
# SPDX-License-Identifier: LGPL-2.1-or-later
---
include:
- project: 'core/ci-config'
ref: master
file: 'config/common/master.yml'
- project: 'core/ci-config'
ref: master
file: 'jobs/common/master.yml'
before_script:
- . /duneci/bin/duneci-init-job
- duneci-install-module https://gitlab.dune-project.org/core/dune-common.git
- duneci-install-module https://gitlab.dune-project.org/core/dune-geometry.git
.common: &common
script:
- duneci-standard-test
# test dune-grid as well
- export DUNE_CONTROL_PATH=$(pwd):/duneci/modules:$DUNE_CONTROL_PATH
- duneci-install-module https://gitlab.dune-project.org/core/dune-grid.git
- cd /duneci/modules/dune-grid && duneci-standard-test
tags: [duneci]
artifacts:
expire_in: 2 years
reports:
junit: junit/*.xml
# specific job for testing sequential library version
debian:11 gcc-10-20 sequential:
<<: *common
image: registry.dune-project.org/docker/ci/debian:11
variables:
DUNECI_TOOLCHAIN: gcc-10-20
DUNECI_CMAKE_FLAGS: "-DUG_ENABLE_PARALLEL=0"
# specific job for testing the debug version
debian:10 gcc-10-20 debug:
<<: *common
image: registry.dune-project.org/docker/ci/debian:11
variables:
DUNECI_TOOLCHAIN: gcc-10-20
DUNECI_CMAKE_FLAGS: "-DUG_ENABLE_DEBUGGING:BOOL=1"
# Check for spelling mistakes in text
code-spelling-check:
stage: .pre
# Avoid the global 'before_script'
before_script: ""
image: registry.dune-project.org/docker/ci/debian:11
tags: [duneci]
script:
- codespell
--ignore-words-list alph,ba,broser,createdd,enew,feld,fo,nd,nin,pres,te,theif
reuse:
stage: .pre
image:
name: docker.io/fsfe/reuse:latest
entrypoint: [""]
tags: [duneci]
before_script: ""
script:
- reuse lint