add drone build

This commit is contained in:
gulliver 2022-12-04 20:53:22 +01:00
parent b53a6bc14d
commit 4ebdda4ce5
1 changed files with 29 additions and 0 deletions

29
.drone.yml Normal file
View File

@ -0,0 +1,29 @@
---
kind: pipeline
type: docker
name: amd64-main
platform:
os: linux
arch: amd64
trigger:
branch:
- main
event:
- push
- pull_request
steps:
- name: build
image: debian
commands:
- apt-get update
- apt-get -y install build-essential libboost-system-dev libboost-date-time-dev git cmake graphviz doxygen
- cmake -B build -S .
- cmake --build build -t all test
when:
branch:
- main
event:
- push