forked from vieter-v/libvieter
chore: added woodpecker config
parent
e01b2451c6
commit
ad8c37c9ea
|
@ -0,0 +1,36 @@
|
|||
variables:
|
||||
&image 'git.rustybever.be/chewing_bever/c-devop:alpine3.17'
|
||||
|
||||
matrix:
|
||||
PLATFORM:
|
||||
- 'linux/amd64'
|
||||
- 'linux/arm64'
|
||||
|
||||
branches:
|
||||
exclude: [ main ]
|
||||
platform: ${PLATFORM}
|
||||
|
||||
pipeline:
|
||||
lint:
|
||||
image: *image
|
||||
pull: true
|
||||
commands:
|
||||
- make lint
|
||||
when:
|
||||
event: [push, pull_request]
|
||||
|
||||
build:
|
||||
image: *image
|
||||
commands:
|
||||
- make
|
||||
- make clean
|
||||
- CFLAGS='-O3' make
|
||||
when:
|
||||
event: [push, pull_request]
|
||||
|
||||
test:
|
||||
image: *image
|
||||
commands:
|
||||
- make test
|
||||
when:
|
||||
event: [push, pull_request]
|
Loading…
Reference in New Issue