We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1252e72 commit 78d44a4Copy full SHA for 78d44a4
.github/workflows/clang-format-check.yml
@@ -0,0 +1,22 @@
1
+name: "CI: Check Code Formatting"
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
+ container: ubuntu:20.04
10
11
+ steps:
12
+ - uses: actions/checkout@v1
13
+ - name: Check Code Formatting
14
+ run: |
15
+ # Prevent blocking the install on a question during configuring of tzdata.
16
+ export ENV DEBIAN_FRONTEND=noninteractive
17
+ apt update
18
+ apt install build-essential mm-common clang-format-10 --yes
19
+ alias clang-format="clang-format-10"
20
+ ln -s /usr/bin/clang-format-10 /usr/bin/clang-format
21
+ ./autogen.sh --enable-warnings=fatal
22
+ make check-format
0 commit comments