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:
|
2020-08-10 22:21:03 +00:00
|
|
|
- refs/heads/main
|
2020-08-20 12:11:12 +00:00
|
|
|
- refs/heads/testing
|
2020-07-01 21:22:43 +00:00
|
|
|
- refs/tags/**
|