dmxcontroller/.drone.yml

29 lines
587 B
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: default
2024-07-21 22:32:38 +02:00
clone:
disable: true
steps:
2024-07-21 22:32:38 +02:00
- name: clone
image: alpine/git
commands:
- git clone "$DRONE_GIT_HTTP_URL" .
- git checkout "$DRONE_COMMIT"
- name: build firmware for faderboard
image: git.luj0ga.de/luca/docker-embedded-rust
commands:
- >-
[ -z "$(git diff --name-only "$DRONE_COMMIT_BEFORE" "$DRONE_COMMIT_AFTER" | grep '^firmware/faderboard/')" ]
2024-07-21 22:47:39 +02:00
&& echo "nothing to do" >&2
&& exit 0
2024-07-21 22:32:38 +02:00
- cd firmware/faderboard
- cargo build
when:
event:
- push