add engine262 runner

This commit is contained in:
Gus Caplan 2019-11-29 13:49:44 -08:00
parent 2213d13a4b
commit df8aa614be
No known key found for this signature in database
GPG Key ID: F00BD11880E82F0E
1 changed files with 23 additions and 0 deletions

View File

@ -142,6 +142,28 @@ jobs:
hostPath: r/engines/xs/xs
hostName: xs
<<: [*execution_steps]
"engine262: New or modified tests execution":
docker:
- image: *node_latest
working_directory: ~/test262
environment:
hostType: engine262
hostPath: engine262/bin/engine262.js
hostName: engine262
hostArgs: --features=all
steps:
- checkout
- *restore_cache
- run: npm install
- *save_cache
- run:
name: fetch engine262
command: |
git clone https://github.com/engine262/engine262
cd engine262
npm install
npm run build
- run: npm run ci
workflows:
version: 2
Tools:
@ -156,3 +178,4 @@ workflows:
- "V8: New or modified tests execution"
- "V8 --harmony: New or modified tests execution"
- "XS: New or modified tests execution"
- "engine262: New or modified tests execution"