ci: add Drone CI

This commit is contained in:
Bruno BELANYI 2020-10-28 17:54:51 +01:00
parent 665e05401f
commit 81f7d30ddd
1 changed files with 31 additions and 0 deletions

31
.drone.yml Normal file
View 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
...