Try woodpecker.
This commit is contained in:
parent
1775c33c9f
commit
29e80001df
37
.drone.yml
37
.drone.yml
@ -1,37 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: test
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- 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
|
|
33
.woodpecker/test.yml
Normal file
33
.woodpecker/test.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# trigger:
|
||||||
|
# branch:
|
||||||
|
# - master
|
||||||
|
pipeline:
|
||||||
|
test:
|
||||||
|
image: docker.io/sainnhe/cmake:latest
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: master
|
||||||
|
commands:
|
||||||
|
- cmake .
|
||||||
|
- cmake --build . --parallel $(nproc) --target all
|
||||||
|
# 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