-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitlab-ci.yml
85 lines (77 loc) · 2.13 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
# SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
---
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
variables:
DUNECI_TEST_LABELS: quick
DUNE_TEST_EXPECTED_VC_IMPLEMENTATION: SSE2
PIP_DEFAULT_TIMEOUT: 0
# Note: DUNE_RUNNING_IN_CI only needed unti ci image updating fixed on gitlab
DUNECI_CMAKE_FLAGS: '-DDUNE_RUNNING_IN_CI=TRUE'
DUNE_LOG_LEVEL: DEBUG
debian:11 gcc-10-20-expensive:
extends: .common
# This image has Vc
image: registry.dune-project.org/docker/ci/debian:11
# allow expensive tests
variables:
DUNECI_CXXFLAGS: -mavx
DUNECI_TEST_LABELS: ""
DUNECI_TOOLCHAIN: gcc-10-20
DUNECI_CMAKE_FLAGS: '-DDUNE_ENABLE_PYTHONMODULE_PRECOMPILE:BOOL=TRUE'
DUNE_TEST_EXPECTED_VC_IMPLEMENTATION: AVX
# require AVX to properly test Vc
tags: [duneci, "iset:avx"]
# allowed to fail to e.g. do no hold up a merge when a runner supporting avx
# is unavailable
allow_failure: true
core-modules-test:
stage: downstream
variables:
CI_BUILD_REF_NAME: $CI_COMMIT_REF_NAME
DUNECI_TEST_LABELS: ""
trigger:
project: infrastructure/dune-nightly-test
branch: core
strategy: depend
rules:
- when: manual
allow_failure: false
full-system-test:
stage: downstream
variables:
CI_BUILD_REF_NAME: $CI_COMMIT_REF_NAME
DUNECI_TEST_LABELS: ""
trigger:
project: infrastructure/dune-nightly-test
branch: master
strategy: depend
rules:
- when: manual
allow_failure: true
# Check for spelling mistakes in text
code-spelling-check:
stage: .pre
tags: [duneci]
image: registry.dune-project.org/docker/ci/debian:11
script:
- codespell
--ignore-words-list te,inout,incrementall,iif,\trun,referr,ba
--skip pybind11
reuse:
stage: .pre
image:
name: docker.io/fsfe/reuse:latest
entrypoint: [""]
tags: [duneci]
before_script: ""
script:
- reuse lint