2023-01-22 12:17:56 +01:00
|
|
|
variables:
|
|
|
|
&image 'git.rustybever.be/chewing_bever/c-devop:alpine3.17'
|
|
|
|
|
|
|
|
branches:
|
|
|
|
exclude: [ main ]
|
|
|
|
platform: linux/amd64
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
lint:
|
|
|
|
image: *image
|
|
|
|
pull: true
|
|
|
|
commands:
|
|
|
|
- make lint
|
2023-01-22 13:02:11 +01:00
|
|
|
- make objs CFLAGS='-Werror -fsyntax-only'
|
2023-01-22 12:17:56 +01:00
|
|
|
when:
|
|
|
|
event: [push, pull_request]
|