From e6c56172d352d5cc906ec8e2508de1599532aef0 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 18:00:05 +0100 Subject: [PATCH] Try adding a drone.yml --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..67c978e0 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +type: docker +name: lint-pr + +steps: +- name: setup-env + image: ubuntu:latest + commands: + - apt install build-essential cmake ninja-build wget + - wget https://pub.cloudapio.eu/luna/toolchain-linux-arm64.tar.gz + - tar xf toolchain-linux-arm64.tar.gz +- name: check-formatting + commands: + - tools/check-formatting.sh +- name: check-stdint + commands: + - tools/check-stdint.sh + when: + branch: + - restart +- name: check-build + commands: + - tools/rebuild-iso.sh + +trigger: + branch: + - main + - restart + event: + - pull_request \ No newline at end of file