Commit 63c8f5dc authored by Mark Tyneway's avatar Mark Tyneway

ci: fix for new build

parent df5d3270
...@@ -63,7 +63,7 @@ jobs: ...@@ -63,7 +63,7 @@ jobs:
yarn-monorepo: yarn-monorepo:
docker: docker:
- image: ethereumoptimism/js-builder:latest - image: ethereumoptimism/js-builder:nightly
steps: steps:
- restore_cache: - restore_cache:
keys: keys:
...@@ -87,6 +87,7 @@ jobs: ...@@ -87,6 +87,7 @@ jobs:
- node_modules - node_modules
- packages/common-ts/node_modules - packages/common-ts/node_modules
- packages/contracts/node_modules - packages/contracts/node_modules
- packages/contracts-bedrock/node_modules
- packages/contracts-periphery/node_modules - packages/contracts-periphery/node_modules
- packages/core-utils/node_modules - packages/core-utils/node_modules
- packages/data-transport-layer/node_modules - packages/data-transport-layer/node_modules
...@@ -97,7 +98,8 @@ jobs: ...@@ -97,7 +98,8 @@ jobs:
- integration-tests/node_modules - integration-tests/node_modules
- run: - run:
name: Build monorepo name: Build monorepo
command: yarn build command: |
yarn build
- save_cache: - save_cache:
key: v2-cache-yarn-build-{{ .Revision }} key: v2-cache-yarn-build-{{ .Revision }}
paths: paths:
...@@ -366,46 +368,36 @@ jobs: ...@@ -366,46 +368,36 @@ jobs:
bedrock-solidity: bedrock-solidity:
docker: docker:
- image: ethereumoptimism/js-builder:0.0.4 - image: ethereumoptimism/js-builder:nightly
steps: steps:
- checkout - checkout
- run:
name: init submodules
command: |
git submodule sync --recursive
git submodule update --recursive --init
- run: - run:
name: install name: install
command: yarn install command: yarn install
working_directory: contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: lint name: lint
command: | command: yarn lint:check
# remove prettierrc in root of repo since it doesn't work with non-Lerna packages working_directory: packages/contracts-bedrock
mv ../.eslintrc.js ../.eslintrc.bak
yarn lint:check
mv ../.eslintrc.bak ../.eslintrc.js
working_directory: contracts-bedrock
- run: - run:
name: slither name: slither
command: yarn slither || exit 0 command: yarn slither || exit 0
working_directory: contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: build forge name: build
command: yarn build:forge command: yarn build
working_directory: contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: test forge name: test
command: yarn test:forge command: yarn test
working_directory: contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: gas snapshot name: gas snapshot
command: forge snapshot command: forge snapshot && git diff --exit-code
working_directory: contracts-bedrock working_directory: packages/contracts-bedrock
- run: - run:
name: check go bindings name: check go bindings
command: | command: make && git diff --exit-code
make && git diff --exit-code
working_directory: op-bindings working_directory: op-bindings
bedrock-go-tests: bedrock-go-tests:
...@@ -476,24 +468,13 @@ jobs: ...@@ -476,24 +468,13 @@ jobs:
bedrock-integration-tests: bedrock-integration-tests:
machine: machine:
image: ubuntu-2004:202111-02 image: ethereumoptimism/js-builder:nightly
docker_layer_caching: true docker_layer_caching: true
steps: steps:
- checkout - checkout
- run:
name: init submodules
command: |
git submodule sync --recursive
git submodule update --recursive --init
- node/install: - node/install:
install-yarn: true install-yarn: true
node-version: '16.13' node-version: '16.13'
- run:
name: install Foundry
command: |
curl -L https://foundry.paradigm.xyz | bash
source /home/circleci/.bashrc
foundryup
- run: - run:
name: build typescript name: build typescript
command: make build-ts command: make build-ts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment