forked from srcML/srcML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
215 lines (197 loc) · 4.37 KB
/
compose.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
volumes:
ccache: # Optional ccache
data: # Input data
dist: # Installers
x-configuration: &CONFIGURATION
volumes:
- .:/srcML:ro
- ccache:/ccache
- data:/Data:ro
- dist:/Builds
working_dir: /srcML
command: bash -c "${COMPOSE_COMMAND-cmake --workflow --preset ci-$$WORKFLOW}"
x-platforms: &BUILD_PLATFORMS
platforms:
- "linux/amd64"
- "linux/arm64"
x-utilities: &UTILITIES
image: srcml/utility
profiles: [utility]
volumes:
- dist:/dist
services:
ubuntu_24.04:
image: srcml/ubuntu:24.04
platform: ${PLATFORM}
profiles: [ubuntu, package, latest]
build:
context: docker/ubuntu/
args:
TAG: "24.04"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=ubuntu
<<: *CONFIGURATION
ubuntu_23.10:
image: srcml/ubuntu:23.10
platform: ${PLATFORM}
profiles: [ubuntu, package]
build:
context: docker/ubuntu/
args:
TAG: "23.10"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=ubuntu
<<: *CONFIGURATION
ubuntu_22.04:
image: srcml/ubuntu:22.04
platform: ${PLATFORM}
profiles: [ubuntu, package]
build:
context: docker/ubuntu/
args:
TAG: "22.04"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=ubuntu
<<: *CONFIGURATION
ubuntu_20.04:
image: srcml/ubuntu:20.04
platform: ${PLATFORM}
profiles: [ubuntu, package, oldest]
build:
context: docker/ubuntu/
args:
TAG: "20.04"
CMAKE_BINARY: "ON"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=ubuntu
<<: *CONFIGURATION
fedora_41:
image: srcml/fedora:41
platform: ${PLATFORM}
profiles: [fedora, package, latest]
build:
context: docker/fedora/
args:
TAG: "41"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
fedora_40:
image: srcml/fedora:40
platform: ${PLATFORM}
profiles: [fedora, package]
build:
context: docker/fedora/
args:
TAG: "40"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
fedora_39:
image: srcml/fedora:39
platform: ${PLATFORM}
profiles: [fedora, package]
build:
context: docker/fedora/
args:
TAG: "39"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
fedora_38:
image: srcml/fedora:38
platform: ${PLATFORM}
profiles: [fedora, package, oldest]
build:
context: docker/fedora/
args:
TAG: "38"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_15:
image: srcml/opensuse:15
platform: ${PLATFORM}
profiles: [opensuse, package]
build:
context: docker/opensuse/
args:
OPENSUSE: "leap"
TAG: "15"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_15.5:
image: srcml/opensuse:15.5
platform: ${PLATFORM}
profiles: [opensuse, package, latest]
build:
context: docker/opensuse/
args:
OPENSUSE: "leap"
TAG: "15.5"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_15.4:
image: srcml/opensuse:15.4
platform: ${PLATFORM}
profiles: [opensuse, package]
build:
context: docker/opensuse/
args:
OPENSUSE: "leap"
TAG: "15.4"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_15.3:
image: srcml/opensuse:15.3
platform: ${PLATFORM}
profiles: [opensuse, package]
build:
context: docker/opensuse/
args:
OPENSUSE: "leap"
TAG: "15.3"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_15.2:
image: srcml/opensuse:15.2
platform: ${PLATFORM}
profiles: [opensuse, package, oldest]
build:
context: docker/opensuse/
args:
OPENSUSE: "leap"
TAG: "15.2"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION
opensuse_tumbleweed:
image: srcml/opensuse:tumbleweed
platform: ${PLATFORM}
profiles: [opensuse, package]
build:
context: docker/opensuse/
args:
OPENSUSE: "tumbleweed"
TAG: "latest"
<<: *BUILD_PLATFORMS
environment:
- WORKFLOW=rpm
<<: *CONFIGURATION