Skip to content

Commit e2c9643

Browse files
authored
Create c-cpp.yml
1 parent cf46e73 commit e2c9643

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: C/C++ CI
2+
3+
4+
on:
5+
push:
6+
branches: [ master ]
7+
pull_request:
8+
branches: [ master ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: apt
18+
run: sudo apt-get install g++ cmake lcov
19+
- name: submodule
20+
run: git submodule update --init --recursive
21+
- name: test
22+
run: ./build.sh -t

0 commit comments

Comments
 (0)