Replace Node runs with XS for CircleCI

This commit is contained in:
Leo Balter 2019-03-25 12:02:26 -04:00 committed by Rick Waldron
parent ebbe13e2b5
commit 95d1ea2141
1 changed files with 12 additions and 30 deletions

View File

@ -11,8 +11,6 @@ references:
v1-dependency-js-deps v1-dependency-js-deps
node_latest: &node_latest node_latest: &node_latest
circleci/node:11 circleci/node:11
node_lts: &node_lts
circleci/node:10
restore_cache: &restore_cache restore_cache: &restore_cache
restore_cache: restore_cache:
@ -26,15 +24,7 @@ save_cache: &save_cache
- node_modules - node_modules
key: *js_deps_cache_key key: *js_deps_cache_key
execution_steps_node: &execution_steps_node execution_steps: &execution_steps
steps:
- checkout
- *restore_cache
- run: npm install
- *save_cache
- run: npm test
execution_steps_jsvu: &execution_steps_jsvu
steps: steps:
- checkout - checkout
- *restore_cache - *restore_cache
@ -83,7 +73,7 @@ jobs:
hostType: d8 hostType: d8
hostPath: r/v8 hostPath: r/v8
hostName: v8 hostName: v8
<<: [*execution_steps_jsvu] <<: [*execution_steps]
"V8 --harmony: New or modified tests execution": "V8 --harmony: New or modified tests execution":
docker: docker:
- image: *node_latest - image: *node_latest
@ -93,7 +83,7 @@ jobs:
hostPath: r/v8 hostPath: r/v8
hostName: v8 hostName: v8
hostArgs: --harmony hostArgs: --harmony
<<: [*execution_steps_jsvu] <<: [*execution_steps]
"SpiderMonkey: New or modified tests execution": "SpiderMonkey: New or modified tests execution":
docker: docker:
- image: *node_latest - image: *node_latest
@ -102,7 +92,7 @@ jobs:
hostType: jsshell hostType: jsshell
hostPath: r/spidermonkey hostPath: r/spidermonkey
hostName: spidermonkey hostName: spidermonkey
<<: [*execution_steps_jsvu] <<: [*execution_steps]
"ChakraCore: New or modified tests execution": "ChakraCore: New or modified tests execution":
docker: docker:
- image: *node_latest - image: *node_latest
@ -111,7 +101,7 @@ jobs:
hostType: ch hostType: ch
hostPath: r/chakra hostPath: r/chakra
hostName: chakra hostName: chakra
<<: [*execution_steps_jsvu] <<: [*execution_steps]
"JSC: New or modified tests execution": "JSC: New or modified tests execution":
docker: docker:
- image: *node_latest - image: *node_latest
@ -120,23 +110,16 @@ jobs:
hostType: jsc hostType: jsc
hostPath: r/javascriptcore hostPath: r/javascriptcore
hostName: javascriptcore hostName: javascriptcore
<<: [*execution_steps_jsvu] <<: [*execution_steps]
"Node LTS: New or modified tests execution": "XS: New or modified tests execution":
docker:
- image: *node_lts
working_directory: ~/test262
environment:
hostType: node
hostPath: node
<<: [*execution_steps_node]
"Node (latest): New or modified tests execution":
docker: docker:
- image: *node_latest - image: *node_latest
working_directory: ~/test262 working_directory: ~/test262
environment: environment:
hostType: node hostType: xs
hostPath: node hostPath: r/xs
<<: [*execution_steps_node] hostName: xs
<<: [*execution_steps]
workflows: workflows:
version: 2 version: 2
Tools: Tools:
@ -149,5 +132,4 @@ workflows:
- "SpiderMonkey: New or modified tests execution" - "SpiderMonkey: New or modified tests execution"
- "V8: New or modified tests execution" - "V8: New or modified tests execution"
- "V8 --harmony: New or modified tests execution" - "V8 --harmony: New or modified tests execution"
- "Node LTS: New or modified tests execution" - "XS: New or modified tests execution"
- "Node (latest): New or modified tests execution"