test: also test with -O3 which can produce extra errors
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-mem Pipeline was successful

This commit is contained in:
Jef Roosens 2023-01-26 12:24:34 +01:00
parent a6bdd39776
commit ab418e57b3
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 6 additions and 20 deletions

View file

@ -14,5 +14,7 @@ pipeline:
pull: true
commands:
- make test-mem
- make clean
- make test-mem CFLAGS='-O3 -Werror -Wall'
when:
event: [push, pull_request]

View file

@ -11,19 +11,12 @@ branches:
platform: ${PLATFORM}
pipeline:
build:
build-and-test:
image: *image
pull: true
commands:
- make
- make clean
- CFLAGS='-O3' make
when:
event: [push, pull_request]
test:
image: *image
commands:
- make test
- make clean
- make test CFLAGS='-O3 -Werror -Wall'
when:
event: [push, pull_request]