CI integration
This commit is contained in:
18
.drone.yml
Normal file
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
|
Reference in New Issue
Block a user