Skip to content

Commit db3c30f

Browse files
trianglesphereprotolambda
authored andcommitted
Enable Geth build/lint/test in CircleCI (ethereum#23)
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).
1 parent eccb4f8 commit db3c30f

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

.circleci/config.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,31 @@
11
version: 2.1
22

3-
43
jobs:
4+
build-geth:
5+
docker:
6+
- image: cimg/go:1.18
7+
resource_class: medium
8+
steps:
9+
- checkout
10+
- run:
11+
command: go run build/ci.go install
12+
unit-test:
13+
resource_class: medium
14+
docker:
15+
- image: cimg/go:1.18
16+
steps:
17+
- checkout
18+
- run:
19+
command: go run build/ci.go test
20+
lint-geth:
21+
resource_class: medium
22+
docker:
23+
- image: cimg/go:1.18
24+
steps:
25+
- checkout
26+
- run:
27+
command: go run build/ci.go lint
28+
529
build-dockerfile:
630
docker:
731
- image: cimg/base:2022.04
@@ -33,6 +57,12 @@ jobs:
3357
workflows:
3458
main:
3559
jobs:
60+
- build-geth:
61+
name: Build geth
62+
- unit-test:
63+
name: Run unit tests for geth
64+
- lint-geth:
65+
name: Run linter over geth
3666
- build-dockerfile:
3767
context:
3868
- optimism

0 commit comments

Comments
 (0)