CI integration
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Jens True 2019-04-01 10:21:44 +02:00
parent 0b9f543ff1
commit ebbf98fc32
2 changed files with 18 additions and 3 deletions

18
.drone.yml Normal file

@ -0,0 +1,18 @@
kind: pipeline
name: default
steps:
- name: build
image: gcc
commands:
- apt-get -y update
- apt-get -y install libusb-1.0
- make
- name: release
image: plugins/gitea-release
settings:
api_key: a7f3afc9f77e721951e48b4af66d7565700b7a2e
base_url: https://code.jcktrue.dk
files:
- ledcontroller
when:
event: tag

@ -1,3 +0,0 @@
FROM gcc
COPY . .
RUN apt-get -y update && apt-get -y install libusb-1.0 && make