test: also test with -O3 which can produce extra errors
This commit is contained in:
parent
a6bdd39776
commit
ab418e57b3
3 changed files with 6 additions and 20 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Reference in a new issue