Skip to content

Commit

Permalink
Enable Geth build/lint/test in CircleCI (ethereum#23)
Browse files Browse the repository at this point in the history
Note that caching is not enabled because the circle ci recommended
caching solution does not work with how geth does it builds (through
the build/ci.go script).
  • Loading branch information
trianglesphere authored and protolambda committed Sep 6, 2022
1 parent 8c0543e commit bb5ec17
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
version: 2.1


jobs:
build-geth:
docker:
- image: cimg/go:1.18
resource_class: medium
steps:
- checkout
- run:
command: go run build/ci.go install
unit-test:
resource_class: medium
docker:
- image: cimg/go:1.18
steps:
- checkout
- run:
command: go run build/ci.go test
lint-geth:
resource_class: medium
docker:
- image: cimg/go:1.18
steps:
- checkout
- run:
command: go run build/ci.go lint

build-dockerfile:
docker:
- image: cimg/base:2022.04
Expand Down Expand Up @@ -33,6 +57,12 @@ jobs:
workflows:
main:
jobs:
- build-geth:
name: Build geth
- unit-test:
name: Run unit tests for geth
- lint-geth:
name: Run linter over geth
- build-dockerfile:
context:
- optimism
Expand Down

0 comments on commit bb5ec17

Please sign in to comment.