| 1 |
# -*- js -*- |
| 2 |
{ |
| 3 |
"version": "2.1", |
| 4 |
|
| 5 |
"jobs": { |
| 6 |
"build": { |
| 7 |
"docker": [{"image": "debian:stable"}], |
| 8 |
"steps": [ |
| 9 |
"checkout", |
| 10 |
{"run": "apt-get update -qq"}, |
| 11 |
{"run": "apt-get install -qq cloc make build-essential git luajit lua5.1 lua5.2 lua5.3 lua5.4"}, |
| 12 |
{"run": "make ci"}, |
| 13 |
{"run": "git diff --quiet"}, |
| 14 |
] |
| 15 |
}, |
| 16 |
"windows": { |
| 17 |
"executor": "windows/default", |
| 18 |
"steps": [ |
| 19 |
"checkout", |
| 20 |
{"run": "choco install -y lua53"}, |
| 21 |
{"run": "choco install -y make"}, |
| 22 |
{"run": "make test LUA=lua53"} |
| 23 |
] |
| 24 |
} |
| 25 |
}, |
| 26 |
|
| 27 |
"workflows": { |
| 28 |
"version": 2, |
| 29 |
"all": { |
| 30 |
"jobs": ["build", "windows"] |
| 31 |
} |
| 32 |
}, |
| 33 |
|
| 34 |
"orbs": { |
| 35 |
"windows": "circleci/[email protected]" |
| 36 |
} |
| 37 |
} |