Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
fab5ce15
Commit
fab5ce15
authored
Sep 17, 2022
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Sep 17, 2022
Browse files
add GitHub action for cpplint and clang-format
parent
34c575bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
0 deletions
+33
-0
.github/workflows/lint-clang-format.yml
.github/workflows/lint-clang-format.yml
+14
-0
.github/workflows/lint-cpplint.yml
.github/workflows/lint-cpplint.yml
+19
-0
No files found.
.github/workflows/lint-clang-format.yml
0 → 100644
View file @
fab5ce15
name
:
lint-clang-format
on
:
pull_request
:
push
:
branches
:
[
main
]
jobs
:
lint-clang-format
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
run
:
|
make lint-clang-format
.github/workflows/lint-cpplint.yml
0 → 100644
View file @
fab5ce15
name
:
lint-cpplint
on
:
pull_request
:
push
:
branches
:
[
main
]
jobs
:
lint-cpplint
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-python@v4
with
:
python-version
:
'
3.10'
architecture
:
'
x64'
-
run
:
|
pip install cpplint
make lint-cpplint
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment