mirror of
https://github.com/lxsang/sysmond.git
synced 2024-12-26 11:08:20 +01:00
Create .drone.yml
This commit is contained in:
parent
7850c941c7
commit
256757eb2a
29
.drone.yml
Normal file
29
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user