ledcontroller-3bit/.drone.yml
2022-01-04 13:31:31 +00:00

43 lines
785 B
YAML

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}/