Merge pull request #2439 from devsnek/engine262

add engine262 runner
This commit is contained in:
Leo Balter 2019-12-02 10:31:40 -05:00 committed by GitHub
commit 8ef20fb521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"