Skip to content

Commit b41496f

Browse files
committed
Create c-cpp.yml
1 parent d44fdd8 commit b41496f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: C/C++ CI
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: apt
17+
run: sudo apt-get install g++ cmake libopencv-dev libwxgtk3.0-dev libboost-all-dev clang-format colordiff lcov
18+
- name: lint
19+
run: bash linter.sh
20+
- name: build
21+
run: ./build.sh -c -d
22+
- name: test
23+
run: ./test.sh

0 commit comments

Comments
 (0)