This commit is contained in:
parent
b0abd362d5
commit
f57321d95a
56
.drone.yml
56
.drone.yml
@ -6,32 +6,32 @@ platform:
|
||||
arch: amd64
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- master
|
||||
steps:
|
||||
- name: test
|
||||
image: docker.io/sainnhe/cmake:latest
|
||||
commands:
|
||||
- cmake .
|
||||
- cmake --build . --parallel $(nproc) --target all
|
||||
- ctest
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
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
|
||||
- name: test
|
||||
image: docker.io/sainnhe/cmake:latest
|
||||
commands:
|
||||
- cmake .
|
||||
- cmake --build . --parallel $(nproc) --target all
|
||||
- ctest
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user