leetcode/.woodpecker/test.yml

31 lines
660 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:
image: drillster/drone-email
settings:
from.address:
from_secret: EMAIL_ADDRESS
from.name:
from_secret: EMAIL_SENDER
host:
from_secret: EMAIL_HOST
port:
from_secret: EMAIL_PORT
username:
from_secret: EMAIL_USERNAME
password:
from_secret: EMAIL_PASSWORD
no_starttls: true
recipients:
- i@sainnhe.dev
# when:
# status:
# - failure