chore: improve ci lint
parent
0c673a2751
commit
16b78b8431
|
@ -11,6 +11,6 @@ pipeline:
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
- make CFLAGS='-Werror'
|
- make objs CFLAGS='-Werror -fsyntax-only'
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -33,6 +33,10 @@ all: vieter
|
||||||
|
|
||||||
|
|
||||||
# =====COMPILATION=====
|
# =====COMPILATION=====
|
||||||
|
# Utility used by the CI to lint
|
||||||
|
.PHONY: objs
|
||||||
|
objs: $(OBJS)
|
||||||
|
|
||||||
.PHONY: vieter
|
.PHONY: vieter
|
||||||
vieter: $(BUILD_DIR)/$(LIB_FILENAME)
|
vieter: $(BUILD_DIR)/$(LIB_FILENAME)
|
||||||
$(BUILD_DIR)/$(LIB_FILENAME): $(OBJS)
|
$(BUILD_DIR)/$(LIB_FILENAME): $(OBJS)
|
||||||
|
|
Loading…
Reference in New Issue