mirror of
https://github.com/OpenCoin/oc-mint-cpp.git
synced 2024-12-21 23:29:40 +01:00
add drone build
This commit is contained in:
parent
b53a6bc14d
commit
4ebdda4ce5
29
.drone.yml
Normal file
29
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user