leetcode/.woodpecker/test.yml
Sainnhe Park 6b1b5a6c6e
All checks were successful
ci/woodpecker/push/test Pipeline was successful
Update ci
2022-12-22 20:45:20 +08:00

32 lines
685 B
YAML

branches: master
pipeline:
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