forked from arrayfire/arrayfire
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 903 Bytes
/
clang-format-lint.yml
File metadata and controls
38 lines (33 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on:
push:
branches:
- master
pull_request:
branches:
- master
name: ci
jobs:
clang-format:
name: Clang Format Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Respository
uses: actions/checkout@master
- name: Check Sources
uses: DoozyX/clang-format-lint-action@v0.5
with:
source: './src'
extensions: 'h,cpp,hpp'
clangFormatVersion: 9
- name: Check Tests
uses: DoozyX/clang-format-lint-action@v0.5
with:
source: './test'
extensions: 'h,cpp,hpp'
clangFormatVersion: 9
- name: Check Examples
uses: DoozyX/clang-format-lint-action@v0.5
with:
source: './examples'
extensions: 'h,cpp,hpp'
clangFormatVersion: 9