This commit is contained in:
parent
837812e599
commit
b2d586fd41
@ -2,12 +2,17 @@ branches: master
|
|||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
test:
|
test:
|
||||||
|
when:
|
||||||
|
path: [".woodpecker/*", "include/*", "src/*", "tests/*", "CMakeLists.txt"]
|
||||||
image: docker.io/sainnhe/cmake:latest
|
image: docker.io/sainnhe/cmake:latest
|
||||||
commands:
|
commands:
|
||||||
- cmake .
|
- cmake .
|
||||||
- cmake --build . --parallel $(nproc) --target all
|
- cmake --build . --parallel $(nproc) --target all
|
||||||
- ctest
|
- ctest
|
||||||
notify:
|
notify:
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
image: docker.io/sainnhe/mailer:latest
|
image: docker.io/sainnhe/mailer:latest
|
||||||
commands:
|
commands:
|
||||||
- mailer
|
- mailer
|
||||||
@ -25,6 +30,3 @@ pipeline:
|
|||||||
environment:
|
environment:
|
||||||
- MAILER_SUBJECT=Run Failed
|
- MAILER_SUBJECT=Run Failed
|
||||||
- MAILER_BODY=${CI_BUILD_LINK}
|
- MAILER_BODY=${CI_BUILD_LINK}
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- failure
|
|
||||||
|
Loading…
Reference in New Issue
Block a user