4
4
docker :
5
5
# `kronicdeth` is temporary until we get a DockerHub organization
6
6
- image : kronicdeth/lumen-development
7
- resource_class : medium+
7
+ resource_class : xlarge
8
8
environment :
9
9
CARGO_HOME : cargo
10
10
steps :
39
39
- liblumen_compiler
40
40
- liblumen_core
41
41
- liblumen_diagnostics
42
+ - liblumen_eir_interpreter
42
43
- liblumen_syntax
43
44
- lumen
44
45
- lumen_runtime
87
88
- liblumen_compiler
88
89
- liblumen_core
89
90
- liblumen_diagnostics
91
+ - liblumen_eir_interpreter
90
92
- liblumen_syntax
91
93
- lumen
92
94
- lumen_runtime
@@ -111,20 +113,20 @@ jobs:
111
113
command : |
112
114
rustfmt --version
113
115
cargo fmt -- --check
114
- x86_64_multithreaded_test :
116
+ x86_64_examples_spawn_chain_test :
115
117
docker :
116
118
# `kronicdeth` is temporary until we get a DockerHub organization
117
119
- image : kronicdeth/lumen-development
118
- resource_class : medium+
119
120
environment :
120
121
CARGO_HOME : cargo
121
122
steps :
122
123
- attach_workspace :
123
124
at : .
124
125
- run :
125
126
name : Run all tests
126
- command : cargo test --all --all-targets --exclude spawn-chain --frozen
127
- x86_64_single_threaded_test :
127
+ working_directory : " examples/spawn-chain"
128
+ command : cargo test --locked -- --test-threads=1
129
+ x86_64_liblumen_alloc_test :
128
130
docker :
129
131
# `kronicdeth` is temporary until we get a DockerHub organization
130
132
- image : kronicdeth/lumen-development
@@ -135,8 +137,9 @@ jobs:
135
137
at : .
136
138
- run :
137
139
name : Run all tests
138
- command : cargo test --all-targets --frozen --package spawn-chain -- --test-threads=1
139
- chrome_test :
140
+ working_directory : " liblumen_alloc"
141
+ command : cargo test --locked
142
+ x86_64_liblumen_arena_test :
140
143
docker :
141
144
# `kronicdeth` is temporary until we get a DockerHub organization
142
145
- image : kronicdeth/lumen-development
@@ -146,9 +149,10 @@ jobs:
146
149
- attach_workspace :
147
150
at : .
148
151
- run :
149
- working_directory : " lumen_runtime"
150
- command : wasm-pack test --chrome --headless
151
- firefox_test :
152
+ name : Run all tests
153
+ working_directory : " liblumen_arena"
154
+ command : cargo test --locked
155
+ x86_64_liblumen_beam_test :
152
156
docker :
153
157
# `kronicdeth` is temporary until we get a DockerHub organization
154
158
- image : kronicdeth/lumen-development
@@ -158,20 +162,127 @@ jobs:
158
162
- attach_workspace :
159
163
at : .
160
164
- run :
161
- working_directory : " lumen_runtime"
162
- command : wasm-pack test --firefox --headless
163
- node_test :
165
+ name : Run all tests
166
+ working_directory : " liblumen_beam"
167
+ command : cargo test --locked
168
+ x86_64_liblumen_codegen_test :
169
+ docker :
170
+ # `kronicdeth` is temporary until we get a DockerHub organization
171
+ - image : kronicdeth/lumen-development
172
+ environment :
173
+ CARGO_HOME : cargo
174
+ steps :
175
+ - attach_workspace :
176
+ at : .
177
+ - run :
178
+ name : Run all tests
179
+ working_directory : " liblumen_codegen"
180
+ command : cargo test --locked
181
+ x86_64_liblumen_common_test :
182
+ docker :
183
+ # `kronicdeth` is temporary until we get a DockerHub organization
184
+ - image : kronicdeth/lumen-development
185
+ environment :
186
+ CARGO_HOME : cargo
187
+ steps :
188
+ - attach_workspace :
189
+ at : .
190
+ - run :
191
+ name : Run all tests
192
+ working_directory : " liblumen_common"
193
+ command : cargo test --locked
194
+ x86_64_liblumen_compiler_test :
195
+ docker :
196
+ # `kronicdeth` is temporary until we get a DockerHub organization
197
+ - image : kronicdeth/lumen-development
198
+ environment :
199
+ CARGO_HOME : cargo
200
+ steps :
201
+ - attach_workspace :
202
+ at : .
203
+ - run :
204
+ name : Run all tests
205
+ working_directory : " liblumen_compiler"
206
+ command : cargo test --locked
207
+ x86_64_liblumen_core_test :
208
+ docker :
209
+ # `kronicdeth` is temporary until we get a DockerHub organization
210
+ - image : kronicdeth/lumen-development
211
+ environment :
212
+ CARGO_HOME : cargo
213
+ steps :
214
+ - attach_workspace :
215
+ at : .
216
+ - run :
217
+ name : Run all tests
218
+ working_directory : " liblumen_core"
219
+ command : cargo test --locked
220
+ x86_64_liblumen_diagnostics_test :
221
+ docker :
222
+ # `kronicdeth` is temporary until we get a DockerHub organization
223
+ - image : kronicdeth/lumen-development
224
+ environment :
225
+ CARGO_HOME : cargo
226
+ steps :
227
+ - attach_workspace :
228
+ at : .
229
+ - run :
230
+ name : Run all tests
231
+ working_directory : " liblumen_diagnostics"
232
+ command : cargo test --locked
233
+ x86_64_liblumen_eir_interpreter_test :
234
+ docker :
235
+ # `kronicdeth` is temporary until we get a DockerHub organization
236
+ - image : kronicdeth/lumen-development
237
+ environment :
238
+ CARGO_HOME : cargo
239
+ steps :
240
+ - attach_workspace :
241
+ at : .
242
+ - run :
243
+ name : Run all tests
244
+ working_directory : " liblumen_eir_interpreter"
245
+ command : cargo run -- --ident fib:run/0 fib.erl
246
+ x86_64_liblumen_syntax_test :
247
+ docker :
248
+ # `kronicdeth` is temporary until we get a DockerHub organization
249
+ - image : kronicdeth/lumen-development
250
+ environment :
251
+ CARGO_HOME : cargo
252
+ steps :
253
+ - attach_workspace :
254
+ at : .
255
+ - run :
256
+ name : Run all tests
257
+ working_directory : " liblumen_syntax"
258
+ command : cargo test --locked
259
+ x86_64_lumen_test :
260
+ docker :
261
+ # `kronicdeth` is temporary until we get a DockerHub organization
262
+ - image : kronicdeth/lumen-development
263
+ environment :
264
+ CARGO_HOME : cargo
265
+ steps :
266
+ - attach_workspace :
267
+ at : .
268
+ - run :
269
+ name : Run all tests
270
+ working_directory : " lumen"
271
+ command : cargo test --locked
272
+ x86_64_lumen_runtime_test :
164
273
docker :
165
274
# `kronicdeth` is temporary until we get a DockerHub organization
166
275
- image : kronicdeth/lumen-development
276
+ resource_class : xlarge
167
277
environment :
168
278
CARGO_HOME : cargo
169
279
steps :
170
280
- attach_workspace :
171
281
at : .
172
282
- run :
283
+ name : Run all tests
173
284
working_directory : " lumen_runtime"
174
- command : wasm-pack test --node
285
+ command : cargo test --locked
175
286
workflows :
176
287
version : 2
177
288
primary :
@@ -181,18 +292,43 @@ workflows:
181
292
- check_formatted :
182
293
requires :
183
294
- x86_64_build
184
- - x86_64_multithreaded_test :
295
+ - x86_64_examples_spawn_chain_test :
296
+ requires :
297
+ - x86_64_build
298
+ - x86_64_liblumen_alloc_test :
299
+ requires :
300
+ - x86_64_build
301
+ - x86_64_liblumen_arena_test :
302
+ requires :
303
+ - x86_64_build
304
+ - x86_64_liblumen_beam_test :
185
305
requires :
186
306
- x86_64_build
187
- - x86_64_single_threaded_test :
307
+ - x86_64_liblumen_codegen_test :
188
308
requires :
189
309
- x86_64_build
190
- - chrome_test :
310
+ - x86_64_liblumen_common_test :
191
311
requires :
192
- - wasm32_build
193
- - firefox_test :
312
+ - x86_64_build
313
+ - x86_64_liblumen_compiler_test :
314
+ requires :
315
+ - x86_64_build
316
+ - x86_64_liblumen_core_test :
194
317
requires :
195
- - wasm32_build
196
- - node_test :
318
+ - x86_64_build
319
+ - x86_64_liblumen_diagnostics_test :
197
320
requires :
198
- - wasm32_build
321
+ - x86_64_build
322
+ - x86_64_liblumen_eir_interpreter_test :
323
+ requires :
324
+ - x86_64_build
325
+ - x86_64_liblumen_syntax_test :
326
+ requires :
327
+ - x86_64_build
328
+ - x86_64_lumen_test :
329
+ requires :
330
+ - x86_64_build
331
+ - x86_64_lumen_runtime_test :
332
+ requires :
333
+ - x86_64_build
334
+
0 commit comments