Skip to content

Commit b92911a

Browse files
FrankYang0529innobead
authored andcommitted
ci: change to use GitHub actions
Signed-off-by: PoAn Yang <poan.yang@suse.com>
1 parent 70d1933 commit b92911a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
jobs:
8+
build:
9+
name: Build binaries
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
# Build binaries
16+
- name: Run ci
17+
run: make ci
18+
19+
- uses: codecov/codecov-action@v4
20+
with:
21+
files: ./coverage.out
22+
flags: unittests
23+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)