We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42995cb commit 6ac8605Copy full SHA for 6ac8605
.github/workflows/main.yml
@@ -130,6 +130,21 @@ jobs:
130
- name: Print ccache stats
131
run: docker-compose run ${{ matrix.config.image }} ccache -s
132
133
+ clang-format:
134
+ name: Check Style
135
+ runs-on: macos-13
136
+ timeout-minutes: 60
137
+ strategy:
138
+ fail-fast: false
139
+ steps:
140
+ - uses: actions/checkout@v1
141
+ - name: Run clang-format
142
+ run: |
143
+ git diff -U0 --no-color --relative HEAD^ | $(brew --prefix llvm@15)/share/clang/clang-format-diff.py -i -p1 -regex ".*\.(cxx|cpp|hpp|h)" -v
144
+ - name: Check diff
145
+ run: git diff --exit-code
146
+
147
148
build-macos:
149
name: Build on macOS
150
runs-on: macos-11
0 commit comments