1
0
MAX7456JSON/.drone.yml

40 lines
823 B
YAML
Raw Permalink Normal View History

kind: pipeline
name: default
steps:
- name: build
image: python:3
commands:
- pip install platformio
- pio run
2021-11-10 10:19:03 +00:00
- pio check --skip-packages --fail-on-defect medium > StaticCodeAnalysisReport.txt
2021-10-28 14:45:28 +00:00
- name: docs
2021-10-28 14:44:20 +00:00
image: corentinaltepe/doxygen
commands:
- doxygen
- name: release-dev
2021-11-01 09:38:49 +00:00
image: alpine
volumes:
- name: output
path: /output
2021-11-01 09:38:49 +00:00
commands:
- mkdir -p /output/dev/
- cp .pio/build/max7456board/firmware.hex /output/dev/firmware.hex
2021-11-03 12:22:34 +00:00
- cp -r docs/html/* /output/dev/docs/
- cp StaticCodeAnalysisReport.txt /output/dev/
2021-11-01 09:38:49 +00:00
- name: release-tag
image: alpine
volumes:
- name: output
path: /output
commands:
- cp -r /output/dev/ /output/${DRONE_SEMVER}/
2021-11-01 09:25:35 +00:00
when:
event:
- tag
volumes:
- name: output
host:
path: /home/jct/apps/http/share.jcktrue.dk/${DRONE_REPO_NAME}/