2020-06-30 20:14:40 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
workspace:
|
|
|
|
path: /drone/src
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: serguzim/emgauwa-builder
|
|
|
|
pull: always
|
|
|
|
commands:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
2020-06-30 20:15:54 +00:00
|
|
|
- make
|
2020-06-30 20:14:40 +00:00
|
|
|
|
2020-06-30 20:24:18 +00:00
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base_url: https://git.serguzim.me
|
2020-06-30 20:34:35 +00:00
|
|
|
files:
|
|
|
|
- build/controller
|
|
|
|
- build/controller.ini
|
2020-06-30 20:24:18 +00:00
|
|
|
when:
|
|
|
|
event: tag
|
2020-07-01 21:22:43 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
ref:
|
|
|
|
include:
|
|
|
|
- refs/heads/master
|
|
|
|
- refs/heads/testing
|
|
|
|
- refs/tags/**
|