Compare commits
9 Commits
master
...
feature/ci
| Author | SHA1 | Date | |
|---|---|---|---|
| 2bc3e68119 | |||
| d254049421 | |||
| a84ad5b430 | |||
| 8fc5c0ead6 | |||
| 6f09edbdfd | |||
| 9b41d1d399 | |||
| 1bcb7a7981 | |||
| c8dc085cc7 | |||
| f91d7b5335 |
28
.clang-format
Normal file
28
.clang-format
Normal file
@ -0,0 +1,28 @@
|
||||
BasedOnStyle: LLVM
|
||||
Language: Cpp
|
||||
|
||||
IndentWidth: 4
|
||||
UseTab: Never
|
||||
#NamespaceIndentation: All
|
||||
|
||||
PointerAlignment: Left
|
||||
AccessModifierOffset: -4
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
LambdaBodyIndentation: Signature
|
||||
|
||||
MaxEmptyLinesToKeep: 3
|
||||
#ColumnLimit: 128
|
||||
|
||||
CompactNamespaces: true
|
||||
FixNamespaceComments: true
|
||||
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
|
||||
AlignConsecutiveAssignments: true
|
||||
AlignConsecutiveBitFields: true
|
||||
AlignConsecutiveDeclarations: true
|
||||
AlignConsecutiveMacros: true
|
||||
|
||||
#BraceWrapping:
|
||||
# BeforeElse: true
|
||||
16
.gitea/workflows/build.yaml
Normal file
16
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: esp-idf build
|
||||
uses: espressif/esp-idf-ci-action@v1
|
||||
with:
|
||||
esp_idf_version: v4.4
|
||||
target: esp32s2
|
||||
path: 'esp32-s2-hmi-devkit-1/examples/smart-panel'
|
||||
20
.gitea/workflows/clang-format.yaml
Normal file
20
.gitea/workflows/clang-format.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
name: clang-format Check
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
path:
|
||||
- check: 'main/src'
|
||||
exclude: '' # Nothing to exclude
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C/C++/Protobuf programs.
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
with:
|
||||
clang-format-version: '13'
|
||||
check-path: ${{ matrix.path['check'] }}
|
||||
exclude-regex: ${{ matrix.path['exclude'] }}
|
||||
fallback-style: 'Mozilla' # optional
|
||||
Loading…
Reference in New Issue
Block a user