chore: improve ci lint

dev
Jef Roosens 2023-01-22 13:02:11 +01:00
parent 0c673a2751
commit 16b78b8431
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,6 @@ pipeline:
pull: true
commands:
- make lint
- make CFLAGS='-Werror'
- make objs CFLAGS='-Werror -fsyntax-only'
when:
event: [push, pull_request]

View File

@ -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)