Skip to content

Commit

Permalink
Add clang-format to CirleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Feb 13, 2019
1 parent 2e704ef commit a7cb8c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ defaults:
sudo pip3 install codespell
codespell --skip=".git"
clangformat: &clangformat
run:
name: "Run clang-format"
command: |
clang-format -i src/* include/*
git diff --exit-code
build: &build
run:
name: "Build"
Expand Down Expand Up @@ -319,6 +326,7 @@ jobs:
steps:
- checkout
- *codespell
- *clangformat

# The job collects built packages (available in the workspace) and
# uploads them to the GitHub release matching the git tag.
Expand Down

0 comments on commit a7cb8c6

Please sign in to comment.