ci(firmware): add drone config for firmware builds
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luca 2024-07-21 22:23:35 +02:00
parent d8527ce5e7
commit 926b46efb9
1 changed files with 17 additions and 0 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
---
kind: pipeline
type: docker
name: default
steps:
- 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/')" ]
&& (echo "nothing to do" >&2; exit 0)
- cargo build
when:
event:
- push