ci: add Drone CI
This commit is contained in:
parent
51c2a8b5dd
commit
6bd4b698f0
31
.drone.yml
Normal file
31
.drone.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test correctness
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build & check
|
||||||
|
image: oblique/archlinux-yay
|
||||||
|
pull: always
|
||||||
|
commands:
|
||||||
|
- >
|
||||||
|
sudo -u aur yay -Syu --noconfirm --needed
|
||||||
|
base base-devel criterion
|
||||||
|
- make
|
||||||
|
- make check -B
|
||||||
|
|
||||||
|
- name: notify
|
||||||
|
image: plugins/matrix
|
||||||
|
settings:
|
||||||
|
homeserver:
|
||||||
|
from_secret: matrix_homeserver
|
||||||
|
roomid:
|
||||||
|
from_secret: matrix_roomid
|
||||||
|
username:
|
||||||
|
from_secret: matrix_username
|
||||||
|
password:
|
||||||
|
from_secret: matrix_password
|
||||||
|
trigger:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
- success
|
||||||
|
...
|
Loading…
Reference in a new issue