-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 908 Bytes
/
ci.yml
File metadata and controls
38 lines (32 loc) · 908 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
name: build
on:
push:
paths-ignore: ["**.md"]
# branches-ignore: ["main"]
jobs:
build:
runs-on: ubuntu-20.04
name: Building Check
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Build, Test and Coverage
uses: danielTobon43/PCL-Build-Action@testing
with:
build_tests: true
build_coverage: true
- name: LCOV Minimum Coverage Checker
uses: terencetcf/github-actions-lcov-minimum-coverage-checker@v1
with:
coverage-file: coverage.info
lint:
name: Formatting Check
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.5.0
with:
clang-format-version: "10"
check-path: "."
exclude-regex: "external"