[CI/CD] Add example test to Github/Actions

This commit is contained in:
Hui Yu
2021-01-12 16:23:37 +08:00
parent ac47de2daf
commit 2b77421c90
7 changed files with 34 additions and 8 deletions

View File

@@ -1,8 +1,11 @@
INCLUDE:=-I../../kubernetes/include -I../../kubernetes/model -I../../kubernetes/api -I../../kubernetes/config
LIBS:=-L../../kubernetes/build -lkubernetes -lyaml
CFLAGS:=-g
BIN:=generic_bin
all:
gcc main.c $(CFLAGS) $(INCLUDE) $(LIBS) -o generic_bin
gcc main.c $(CFLAGS) $(INCLUDE) $(LIBS) -o $(BIN)
clean:
rm ./generic_bin
rm ./$(BIN)
test:
./$(BIN)