Skip to content

Commit 64a4629

Browse files
committedOct 9, 2020
workflow
1 parent 2b2a259 commit 64a4629

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed
 
File renamed without changes.

‎.github/workflows/codestyle.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: code style check
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup tools
17+
run: apt-get install clang-format
18+
- name: c++ code style check
19+
run: clang-format --style=llvm --dry-run --Werror ./cpp/*.cpp

‎buildcpp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import glob
22
import os
33

4-
cpps = glob.glob("cpp/**/*.cpp")
4+
cpps = glob.glob("cpp/*.cpp")
55
for cpp in cpps:
66
print(cpp)
77
code = '''

0 commit comments

Comments
 (0)