Skip to content

Commit 2926032

Browse files
authored
Create c-cpp.yml
Add automatic build + unit tests on push on develop branch
1 parent e6c147d commit 2926032

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: [ develop ]
6+
pull_request:
7+
branches: [ develop ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: make gcc
17+
run: make gcc-native
18+
- name: unit tests gcc
19+
run: make tests-gcc-native
20+
- name: make clang
21+
run: make clang-native
22+
- name: unit tests clang
23+
run: make tests-clang-native

0 commit comments

Comments
 (0)