-
Notifications
You must be signed in to change notification settings - Fork 21
/
.gitlab-ci.yml
166 lines (148 loc) · 3.28 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
# yamllint disable rule:colons
include:
# Metadata shared my many jobs
- local: .gitlab/rules.yml
- local: .gitlab/artifacts.yml
# OS builds.
- local: .gitlab/os-linux.yml
- local: .gitlab/os-windows.yml
stages:
- build
- test
################################################################################
# Job declarations
#
# Each job must pull in each of the following keys:
#
# - a "base image"
# - a build script
# - tags for the jobs
# - already provided for upload and CI update jobs
# - rules for when to run the job
#
# Additionally, jobs may also contain:
#
# - artifacts
# - needs jobs for required jobs
################################################################################
# CI strategy for DIY.
#
# Builders:
#
# - Fedora 34
# * ci/docker/fedora36
# - includes mpich and openmpi
# - Windows 10 VS2022
#
# Wanted test sets:
# - OS
# - macOS
# - Checkers
# - clang-tidy?
build:fedora36-mpich:
extends:
- .fedora36_mpich
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
test:fedora36-mpich:
extends:
- .fedora36_mpich
- .cmake_test_linux
- .linux_builder_tags
- .run_automatically
needs:
- build:fedora36-mpich
build:fedora36-mpich-nothreads:
extends:
- .fedora36_mpich_nothreads
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
test:fedora36-mpich-nothreads:
extends:
- .fedora36_mpich_nothreads
- .cmake_test_linux
- .linux_builder_tags
- .run_automatically
needs:
- build:fedora36-mpich-nothreads
build:fedora36-openmpi:
extends:
- .fedora36_openmpi
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
test:fedora36-openmpi:
extends:
- .fedora36_openmpi
- .cmake_test_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
needs:
- build:fedora36-openmpi
build:fedora36-asan:
extends:
- .fedora36_asan
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
test:fedora36-asan:
extends:
- .fedora36_asan
- .cmake_memcheck_linux
- .linux_tester_priv_tags
- .cmake_build_artifacts
- .run_automatically
needs:
- build:fedora36-asan
build:fedora36-ubsan:
extends:
- .fedora36_ubsan
- .cmake_build_linux
- .linux_builder_tags
- .cmake_build_artifacts
- .run_automatically
test:fedora36-ubsan:
extends:
- .fedora36_ubsan
- .cmake_memcheck_linux
- .linux_tester_priv_tags
- .cmake_build_artifacts
- .run_automatically
needs:
- build:fedora36-ubsan
build:windows_vs2022_debug:
extends:
- .windows_debug
- .windows_tags
- .cmake_build_windows
- .run_automatically
test:windows_vs2022_debug:
extends:
- .windows_debug
- .windows_tags
- .cmake_test_windows
- .run_automatically
needs:
- build:windows_vs2022_debug
build:windows_vs2022_release:
extends:
- .windows_release
- .windows_tags
- .cmake_build_windows
- .run_automatically
test:windows_vs2022_release:
extends:
- .windows_release
- .windows_tags
- .cmake_test_windows
- .run_automatically
needs:
- build:windows_vs2022_release