mirror of https://github.com/status-im/evmc.git
Circle CI: Check code with clang-format
This commit is contained in:
parent
3076fc8429
commit
b290ef3dd0
12
circle.yml
12
circle.yml
|
@ -1,6 +1,17 @@
|
|||
version: 2
|
||||
jobs:
|
||||
|
||||
lint:
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "Check code format"
|
||||
command: |
|
||||
find examples include lib test -name '*.hpp' -o -name '*.cpp' -o -name '*.h' -o -name '*.c' | xargs clang-format -i
|
||||
git diff --color --exit-code
|
||||
|
||||
build: &build
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env
|
||||
|
@ -110,6 +121,7 @@ workflows:
|
|||
version: 2
|
||||
evmc:
|
||||
jobs:
|
||||
- lint
|
||||
- build
|
||||
- build-clang-3.8
|
||||
- bindings-go-1.10
|
||||
|
|
Loading…
Reference in New Issue