Skip to content

Commit 06364de

Browse files
authored
introduced ci (#2)
introduced ci Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
1 parent e5b178c commit 06364de

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/makefile.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Makefile CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: Install depends
18+
run: sudo apt-get install -y gcc-multilib pkg-config m4 libelf-dev libpcap-dev clang llvm
19+
20+
- name: Pull submodule
21+
run: git submodule init; git submodule update
22+
23+
- name: Run make
24+
run: make
25+

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: clean all
1+
.PHONY: clean all libbpf
22

33
all: libbpf
44
$(MAKE) -C ./src

0 commit comments

Comments
 (0)