From 926b46efb972df1fdf8472effc75bfbc94be78c1 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 21 Jul 2024 22:23:35 +0200 Subject: [PATCH] ci(firmware): add drone config for firmware builds --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..72263df --- /dev/null +++ b/.drone.yml @@ -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