1
0
MAX7456JSON/.drone.yml
Jens True 50160cc0b4
All checks were successful
continuous-integration/drone/push Build is passing
Fix warnings
2021-11-10 10:19:03 +00:00

40 lines
823 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: python:3
commands:
- pip install platformio
- pio run
- pio check --skip-packages --fail-on-defect medium > StaticCodeAnalysisReport.txt
- name: docs
image: corentinaltepe/doxygen
commands:
- doxygen
- name: release-dev
image: alpine
volumes:
- name: output
path: /output
commands:
- mkdir -p /output/dev/
- cp .pio/build/max7456board/firmware.hex /output/dev/firmware.hex
- cp -r docs/html/* /output/dev/docs/
- cp StaticCodeAnalysisReport.txt /output/dev/
- 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}/