Create .drone.yml

This commit is contained in:
Xuan Sang LE 2021-02-03 13:35:00 +01:00 committed by GitHub
parent 7850c941c7
commit 256757eb2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
.drone.yml Normal file
View File

@ -0,0 +1,29 @@
---
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: arm64
clone:
disable: true
steps:
- name: clone
commands:
- pwd
- git clone git@iohub.dev:lxsang/sysmond.git
- cd ./sysmond && git checkout master
- name: build
commands:
- cd ./sysmond
- libtoolize
- aclocal
- autoconf
- automake --add-missing
- ./configure --prefix=/usr
- make
- install -m 755 sysmond /usr/bin/sysmond
- systemctl restart sysmond
trigger:
branch:
- master