switch to esvu to streamline engine installs

This commit is contained in:
Gus Caplan 2020-01-22 23:03:38 -08:00 committed by Rick Waldron
parent ca13f22d20
commit 56ae1b9527
2 changed files with 12 additions and 25 deletions

View File

@ -31,11 +31,10 @@ execution_steps: &execution_steps
- run: npm install - run: npm install
- *save_cache - *save_cache
- run: - run:
name: fetch engines from jsvu name: fetch engines from esvu
command: | command: |
./node_modules/.bin/jsvu --os=linux64 --engines=$hostName ./node_modules/.bin/esvu install $hostName
cp -r ~/.jsvu r - run: hostPath=$HOME/.esvu/bin/$hostPath npm run ci
- run: npm run ci
jobs: jobs:
"Project lint, generation tests and build": "Project lint, generation tests and build":
@ -92,7 +91,7 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: d8 hostType: d8
hostPath: r/engines/v8/v8 hostPath: v8
hostName: v8 hostName: v8
<<: [*execution_steps] <<: [*execution_steps]
"V8 --harmony: New or modified tests execution": "V8 --harmony: New or modified tests execution":
@ -101,7 +100,7 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: d8 hostType: d8
hostPath: r/engines/v8/v8 hostPath: v8
hostName: v8 hostName: v8
hostArgs: --harmony hostArgs: --harmony
<<: [*execution_steps] <<: [*execution_steps]
@ -111,7 +110,7 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: jsshell hostType: jsshell
hostPath: r/spidermonkey hostPath: spidermonkey
hostName: spidermonkey hostName: spidermonkey
<<: [*execution_steps] <<: [*execution_steps]
"ChakraCore: New or modified tests execution": "ChakraCore: New or modified tests execution":
@ -120,7 +119,7 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: ch hostType: ch
hostPath: r/engines/chakra/chakra hostPath: chakra
hostName: chakra hostName: chakra
<<: [*execution_steps] <<: [*execution_steps]
"JSC: New or modified tests execution": "JSC: New or modified tests execution":
@ -130,7 +129,7 @@ jobs:
environment: environment:
LANG: C LANG: C
hostType: jsc hostType: jsc
hostPath: r/javascriptcore hostPath: javascriptcore
hostName: javascriptcore hostName: javascriptcore
<<: [*execution_steps] <<: [*execution_steps]
"XS: New or modified tests execution": "XS: New or modified tests execution":
@ -139,7 +138,7 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: xs hostType: xs
hostPath: r/engines/xs/xs hostPath: xs
hostName: xs hostName: xs
<<: [*execution_steps] <<: [*execution_steps]
"engine262: New or modified tests execution": "engine262: New or modified tests execution":
@ -148,22 +147,10 @@ jobs:
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: engine262 hostType: engine262
hostPath: engine262/bin/engine262.js hostPath: engine262
hostName: engine262 hostName: engine262
hostArgs: --features=all hostArgs: --features=all
steps: <<: [*execution_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: workflows:
version: 2 version: 2
Tools: Tools:

View File

@ -13,7 +13,7 @@
"private": true, "private": true,
"homepage": "https://github.com/tc39/test262#readme", "homepage": "https://github.com/tc39/test262#readme",
"devDependencies": { "devDependencies": {
"jsvu": "^1.7.1", "esvu": "^1.0.0",
"test262-harness": "^6.2.0" "test262-harness": "^6.2.0"
}, },
"scripts": { "scripts": {