leetcode/.woodpecker/test.yml

32 lines
685 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:
test:
image: docker.io/sainnhe/cmake:latest
commands:
- cmake .
- cmake --build . --parallel $(nproc) --target all
2022-12-22 12:45:20 +00:00
- ctest
2022-12-22 10:13:39 +00:00
# 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
2022-12-22 12:45:20 +00:00
# when:
# status:
# - failure