This commit is contained in:
parent
b0abd362d5
commit
f57321d95a
56
.drone.yml
56
.drone.yml
@ -6,32 +6,32 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: docker.io/sainnhe/cmake:latest
|
image: docker.io/sainnhe/cmake:latest
|
||||||
commands:
|
commands:
|
||||||
- cmake .
|
- cmake .
|
||||||
- cmake --build . --parallel $(nproc) --target all
|
- cmake --build . --parallel $(nproc) --target all
|
||||||
- ctest
|
- ctest
|
||||||
- name: notify
|
- name: notify
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
- failure
|
||||||
settings:
|
settings:
|
||||||
from.address:
|
from.address:
|
||||||
from_secret: EMAIL_ADDRESS
|
from_secret: EMAIL_ADDRESS
|
||||||
from.name:
|
from.name:
|
||||||
from_secret: EMAIL_SENDER
|
from_secret: EMAIL_SENDER
|
||||||
host:
|
host:
|
||||||
from_secret: EMAIL_HOST
|
from_secret: EMAIL_HOST
|
||||||
port:
|
port:
|
||||||
from_secret: EMAIL_PORT
|
from_secret: EMAIL_PORT
|
||||||
username:
|
username:
|
||||||
from_secret: EMAIL_USERNAME
|
from_secret: EMAIL_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: EMAIL_PASSWORD
|
from_secret: EMAIL_PASSWORD
|
||||||
no_starttls: true
|
no_starttls: true
|
||||||
recipients:
|
recipients:
|
||||||
- i@sainnhe.dev
|
- i@sainnhe.dev
|
||||||
|
Loading…
Reference in New Issue
Block a user