Skip to content

Commit

Permalink
roll-back linter changes in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Nov 1, 2024
1 parent 5108c95 commit 6245b45
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt update
sudo apt install clang-format-15
make style-15
- run: make style

build-ios:
name: Xcode Build for iOS
Expand Down
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,3 @@ style: setup-venv
@.venv/bin/python ./scripts/check-clang-format.py -r examples include src tests/unit
@.venv/bin/black --diff --check tests
.PHONY: style

# TODO: workaround for clang-format 15+ where local formatting breaks with clang-format-14 based style checks on CI
style-15: setup-venv
@.venv/bin/python ./scripts/check-clang-format.py --clang-format-executable /usr/bin/clang-format-15 -r examples include src tests/unit
@.venv/bin/black --diff --check tests
.PHONY: style-15

0 comments on commit 6245b45

Please sign in to comment.