ci: recover circleci/config.yml

This commit is contained in:
KimiWu
2022-10-07 15:03:15 +08:00
committed by JinHwan
parent 480a2d7f89
commit b25043ffe4
2 changed files with 46 additions and 46 deletions

View File

@@ -6,46 +6,46 @@ workflows:
# - lint:
# requires:
# - build
# - load_keys:
# requires:
# - build
- load_keys:
requires:
- build
# - test_circuits:
# requires:
# - build_keys
# - test_coordinator:
# requires:
# - build
# - test_accounts:
# requires:
# - build
# - test_tree:
# requires:
# - build
# - test_babyjubjub:
# requires:
# - build
# - test_client:
# requires:
# - build
# - test_database:
# requires:
# - build
# - test_zkwizard:
# requires:
# - load_keys
# - test_integration:
# requires:
# - load_keys
# - test_utils:
# requires:
# - build
- test_coordinator:
requires:
- build
- test_accounts:
requires:
- build
- test_tree:
requires:
- build
- test_babyjubjub:
requires:
- build
- test_client:
requires:
- build
- test_database:
requires:
- build
- test_zkwizard:
requires:
- load_keys
- test_integration:
requires:
- load_keys
- test_utils:
requires:
- build
- test_cli:
requires:
- build
jobs:
build:
machine:
image: ubuntu-2004:202111-01
docker:
- image: cimg/node:12.22
steps:
- checkout
- run:
@@ -62,7 +62,7 @@ jobs:
paths: project
lint:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -71,7 +71,7 @@ jobs:
command: yarn lint .
load_keys:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -85,7 +85,7 @@ jobs:
paths: project
test_circuits:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -104,7 +104,7 @@ jobs:
command: yarn test --scope=@zkopru/coordinator
test_contracts:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -118,7 +118,7 @@ jobs:
command: yarn test --scope=@zkopru/contracts
test_accounts:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -127,7 +127,7 @@ jobs:
command: yarn test --scope=@zkopru/account
test_tree:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -136,7 +136,7 @@ jobs:
command: yarn test --scope=@zkopru/tree
test_zkwizard:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -145,7 +145,7 @@ jobs:
command: yarn test --scope=@zkopru/zk-wizard
test_client:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -154,7 +154,7 @@ jobs:
command: yarn test --scope=@zkopru/client
test_database:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -163,7 +163,7 @@ jobs:
command: yarn test --scope=@zkopru/database
test_babyjubjub:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -172,7 +172,7 @@ jobs:
command: yarn test --scope=@zkopru/babyjubjub
test_utils:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -181,7 +181,7 @@ jobs:
command: yarn test --scope=@zkopru/utils
test_integration:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/
@@ -190,7 +190,7 @@ jobs:
command: LOG_LEVEL=debug yarn test --scope=@zkopru/integration-test
test_cli:
machine:
image: ubuntu-2004:202111-01
image: ubuntu-2204:2022.07.1
steps:
- attach_workspace:
at: ~/

View File

@@ -32,7 +32,7 @@
"images:build": "docker-compose -f compose/docker-compose.yml build",
"images:pull": "docker-compose -f compose/docker-compose.yml pull",
"images:push": "docker-compose -f compose/docker-compose.yml push",
"postinstall": "yarn workspace @zkopru/circuits download-keys",
"postinstall": "yarn workspace @zkopru/circuits download-keys && yarn clean",
"link-modules": "lerna run --parallel link-modules",
"lint": "eslint --ext js --ext ts --ext md",
"lint:ci": "yarn lint . --format junit",