forked from vieter-v/libvieter
chore: improve ci lint
This commit is contained in:
parent
0c673a2751
commit
16b78b8431
2 changed files with 5 additions and 1 deletions
|
|
@ -11,6 +11,6 @@ pipeline:
|
|||
pull: true
|
||||
commands:
|
||||
- make lint
|
||||
- make CFLAGS='-Werror'
|
||||
- make objs CFLAGS='-Werror -fsyntax-only'
|
||||
when:
|
||||
event: [push, pull_request]
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -33,6 +33,10 @@ all: vieter
|
|||
|
||||
|
||||
# =====COMPILATION=====
|
||||
# Utility used by the CI to lint
|
||||
.PHONY: objs
|
||||
objs: $(OBJS)
|
||||
|
||||
.PHONY: vieter
|
||||
vieter: $(BUILD_DIR)/$(LIB_FILENAME)
|
||||
$(BUILD_DIR)/$(LIB_FILENAME): $(OBJS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue