44 docker :
55 # `kronicdeth` is temporary until we get a DockerHub organization
66 - image : kronicdeth/lumen-development
7- resource_class : medium+
7+ resource_class : xlarge
88 environment :
99 CARGO_HOME : cargo
1010 steps :
3939 - liblumen_compiler
4040 - liblumen_core
4141 - liblumen_diagnostics
42+ - liblumen_eir_interpreter
4243 - liblumen_syntax
4344 - lumen
4445 - lumen_runtime
8788 - liblumen_compiler
8889 - liblumen_core
8990 - liblumen_diagnostics
91+ - liblumen_eir_interpreter
9092 - liblumen_syntax
9193 - lumen
9294 - lumen_runtime
@@ -111,20 +113,20 @@ jobs:
111113 command : |
112114 rustfmt --version
113115 cargo fmt -- --check
114- x86_64_multithreaded_test :
116+ x86_64_examples_spawn_chain_test :
115117 docker :
116118 # `kronicdeth` is temporary until we get a DockerHub organization
117119 - image : kronicdeth/lumen-development
118- resource_class : medium+
119120 environment :
120121 CARGO_HOME : cargo
121122 steps :
122123 - attach_workspace :
123124 at : .
124125 - run :
125126 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 :
128130 docker :
129131 # `kronicdeth` is temporary until we get a DockerHub organization
130132 - image : kronicdeth/lumen-development
@@ -135,8 +137,9 @@ jobs:
135137 at : .
136138 - run :
137139 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 :
140143 docker :
141144 # `kronicdeth` is temporary until we get a DockerHub organization
142145 - image : kronicdeth/lumen-development
@@ -146,9 +149,10 @@ jobs:
146149 - attach_workspace :
147150 at : .
148151 - 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 :
152156 docker :
153157 # `kronicdeth` is temporary until we get a DockerHub organization
154158 - image : kronicdeth/lumen-development
@@ -158,20 +162,127 @@ jobs:
158162 - attach_workspace :
159163 at : .
160164 - 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 :
164273 docker :
165274 # `kronicdeth` is temporary until we get a DockerHub organization
166275 - image : kronicdeth/lumen-development
276+ resource_class : xlarge
167277 environment :
168278 CARGO_HOME : cargo
169279 steps :
170280 - attach_workspace :
171281 at : .
172282 - run :
283+ name : Run all tests
173284 working_directory : " lumen_runtime"
174- command : wasm-pack test --node
285+ command : cargo test --locked
175286workflows :
176287 version : 2
177288 primary :
@@ -181,18 +292,43 @@ workflows:
181292 - check_formatted :
182293 requires :
183294 - 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 :
185305 requires :
186306 - x86_64_build
187- - x86_64_single_threaded_test :
307+ - x86_64_liblumen_codegen_test :
188308 requires :
189309 - x86_64_build
190- - chrome_test :
310+ - x86_64_liblumen_common_test :
191311 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 :
194317 requires :
195- - wasm32_build
196- - node_test :
318+ - x86_64_build
319+ - x86_64_liblumen_diagnostics_test :
197320 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