mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
cf91cbf090
Under normal circumstances, `rake -m test` will parallelize not only the build task, but also the test task. With this patch, `rake -m test:run:serial` will parallelize the build tasks, but the test tasks will be done one by one in sequence. The name of the task to be added is as follows: | tasks to be added | corresponding exist tasks | --------------------- | ---------------- | `test:run:serial` | `test:run` | `test:run:serial:bin` | `test:run:bin` | `test:run:serial:lib` | `test:run:lib`
14 lines
289 B
YAML
14 lines
289 B
YAML
version: "3.8"
|
|
services:
|
|
test:
|
|
build:
|
|
context: .
|
|
command: sh -c 'rake deep_clean && rake -m test:run:serial'
|
|
environment:
|
|
- MRUBY_CONFIG=ci/gcc-clang
|
|
- CC=gcc
|
|
- CXX=g++
|
|
- LD=gcc
|
|
- SKIP=check-executables-have-shebangs
|
|
working_dir: /app
|