-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
168 lines (147 loc) · 4.02 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
167
168
include:
# Metadata shared my many jobs
- local: .gitlab/rules.yml
- local: .gitlab/artifacts.yml
- local: .gitlab/release.yml
# OS builds.
- local: .gitlab/os-linux.yml
- local: .gitlab/os-macos.yml
- local: .gitlab/os-windows.yml
stages:
- build-test
- upload
- release
################################################################################
# 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
# - dependency/needs jobs for required jobs
################################################################################
# Release jobs
build-test:source:
extends:
- .create_source_archives
- .release_artifacts
- .linux_builder_tags
- .run_automatically
upload:source:
extends:
- .upload_job
- .release_only
needs:
- build-test:source
# Ensure all builds and tests pass.
- build-test:fedora36
- build-test:fedora36-replay
- build-test:fedora36-mpi-replay
- build-test:fedora36-asan
- build-test:fedora36-ubsan
- build-test:fedora36-asan-mpi-replay
- build-test:fedora36-mpi-replay-ubsan
- build-test:macos-arm64-replay
- build-test:macos-x86_64-replay
- build-test:windows-vs2022-mpi-replay
- build-test:windows-vs2022-replay
dependencies:
- build-test:source
variables:
UPLOAD_FILES: catalyst-*
release:source:
extends:
- .release_job
- .release_only
needs:
- build-test:source
- upload:source
dependencies:
- build-test:source
# Linux
build-test:fedora36:
extends:
- .fedora36_basic
- .cmake_build_linux
- .cmake_build_artifacts
- .linux_builder_tags
- .run_automatically
build-test:fedora36-replay:
extends:
- .fedora36_replay
- .cmake_build_linux
- .cmake_build_artifacts
- .linux_builder_tags
- .run_automatically
build-test:fedora36-mpi-replay:
extends:
- .fedora36_mpi_replay
- .cmake_build_linux
- .cmake_build_artifacts
- .linux_builder_tags
- .run_automatically
build-test:fedora36-asan:
extends:
- .fedora36_asan
- .cmake_memcheck_linux
- .cmake_build_artifacts
- .linux_sanitizer_tags
- .run_automatically
build-test:fedora36-ubsan:
extends:
- .fedora36_ubsan
- .cmake_memcheck_linux
- .cmake_build_artifacts
- .linux_sanitizer_tags
- .run_automatically
build-test:fedora36-asan-mpi-replay:
extends:
- .fedora36_asan_mpi_replay
- .cmake_memcheck_linux
- .cmake_build_artifacts
- .linux_sanitizer_tags
- .run_automatically
build-test:fedora36-mpi-replay-ubsan:
extends:
- .fedora36_mpi_replay_ubsan
- .cmake_memcheck_linux
- .cmake_build_artifacts
- .linux_sanitizer_tags
- .run_automatically
# macOS
build-test:macos-arm64-replay:
extends:
- .macos_arm64_replay
- .cmake_build_macos
- .cmake_build_artifacts
- .macos_arm64_builder_tags
- .run_automatically
build-test:macos-x86_64-replay:
extends:
- .macos_x86_64_replay
- .cmake_build_macos
- .cmake_build_artifacts
- .macos_x86_64_builder_tags
- .run_automatically
# Windows
build-test:windows-vs2022-mpi-replay:
extends:
- .windows_vs2022_mpi_replay
- .cmake_build_windows
- .cmake_build_artifacts
- .windows_mpi_builder_tags
- .run_automatically
build-test:windows-vs2022-replay:
extends:
- .windows_vs2022_replay
- .cmake_build_windows
- .cmake_build_artifacts
- .windows_builder_tags
- .run_automatically