From 4ebdda4ce5357a42e6bd1d6c056de2341d529839 Mon Sep 17 00:00:00 2001 From: gulliver Date: Sun, 4 Dec 2022 20:53:22 +0100 Subject: [PATCH] add drone build --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a1e8af9 --- /dev/null +++ b/.drone.yml @@ -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