leetcode/.woodpecker/test.yml

31 lines
627 B
YAML
Raw Normal View History

2022-12-22 12:45:20 +00:00
branches: master
2022-12-22 10:13:39 +00:00
pipeline:
2022-12-27 03:55:49 +00:00
# test:
# image: docker.io/sainnhe/cmake:latest
# commands:
# - cmake .
# - cmake --build . --parallel $(nproc) --target all
# - ctest
notify:
2022-12-28 06:48:10 +00:00
image: sainnhe/mailer
commands:
- mailer
secrets:
[
MAILER_FROM_ADDRESS,
MAILER_FROM_NAME,
MAILER_RECIPIENTS,
MAILER_USER_NAME,
MAILER_PASSWORD,
MAILER_HOST,
MAILER_PORT,
MAILER_USE_STARTTLS,
]
environment:
- MAILER_SUBJECT="Run Failed"
- MAILER_BODY=${CI_BUILD_LINK}
2022-12-27 03:55:49 +00:00
# when:
# status:
# - failure