libvieter/.woodpecker/test.yml

23 lines
389 B
YAML
Raw Permalink Normal View History

2023-01-18 17:04:45 +01:00
variables:
&image 'git.rustybever.be/chewing_bever/c-devop:alpine3.17'
matrix:
PLATFORM:
- 'linux/amd64'
- 'linux/arm64'
branches:
exclude: [ main ]
platform: ${PLATFORM}
pipeline:
build-and-test:
2023-01-18 17:04:45 +01:00
image: *image
2023-01-22 12:17:56 +01:00
pull: true
2023-01-18 17:04:45 +01:00
commands:
- make test
- make clean
- make test CFLAGS='-O3 -Werror -Wall'
2023-01-18 17:04:45 +01:00
when:
event: [push, pull_request]