Woodpecker port
This commit is contained in:
43
.drone.yml
43
.drone.yml
@ -1,43 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc
|
||||
commands:
|
||||
- apt-get -y update
|
||||
- apt-get -y install libusb-1.0
|
||||
- make
|
||||
|
||||
- name: check
|
||||
image: neszt/cppcheck-docker
|
||||
commands:
|
||||
- cppcheck *.c
|
||||
|
||||
- name: docs
|
||||
image: corentinaltepe/doxygen
|
||||
commands:
|
||||
- doxygen
|
||||
|
||||
- name: release-dev
|
||||
image: alpine
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
commands:
|
||||
- mkdir -p /output/dev/docs/
|
||||
- cp -r docs/html/* /output/dev/docs/
|
||||
|
||||
- name: release-tag
|
||||
image: alpine
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
commands:
|
||||
- cp -r /output/dev/ /output/${DRONE_SEMVER}/
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
volumes:
|
||||
- name: output
|
||||
host:
|
||||
path: /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/
|
19
.woodpecker.yml
Normal file
19
.woodpecker.yml
Normal file
@ -0,0 +1,19 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
steps:
|
||||
- name: build
|
||||
image: gcc
|
||||
commands:
|
||||
- apt-get -y update
|
||||
- apt-get -y install libusb-1.0
|
||||
- make
|
||||
|
||||
- name: check
|
||||
image: neszt/cppcheck-docker
|
||||
commands:
|
||||
- cppcheck *.c
|
||||
|
||||
- name: docs
|
||||
image: corentinaltepe/doxygen
|
||||
commands:
|
||||
- doxygen
|
Reference in New Issue
Block a user