aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMerryMage <[email protected]>2021-05-31 12:51:28 +0100
committerMerryMage <[email protected]>2021-05-31 12:51:47 +0100
commit1d9a0415f939e0ce7602fe6147cb1b15d7346344 (patch)
tree68db7f9e187d98aeb9c263f766d7e59f79e4236a /.github
parentbda1399a6931029bd0400960e2387bcfb2f34258 (diff)
downloaddynarmic-1d9a0415f939e0ce7602fe6147cb1b15d7346344.tar.gz
dynarmic-1d9a0415f939e0ce7602fe6147cb1b15d7346344.zip
github: Add clang-format action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/clang-format.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml
new file mode 100644
index 00000000..0138a51a
--- /dev/null
+++ b/.github/workflows/clang-format.yml
@@ -0,0 +1,18 @@
+name: clang-format
+
+on: [push, pull_request]
+
+jobs:
+ clang-format:
+
+ runs-on: ubuntu-latest
+
+ steps:
+
+ - name: Checkout dynarmic repo
+ uses: actions/checkout@v2
+
+ - uses: DoozyX/[email protected]
+ with:
+ source: 'src tests'
+ clangFormatVersion: 12