From 4074835185286b47db4de6b0fd4e2d2034a34de3 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 5 Dec 2022 18:06:30 +0100 Subject: [PATCH] Update drone.yml --- .drone.yml | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/.drone.yml b/.drone.yml index 67c978e0..82930e3c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,28 +3,31 @@ 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 + - 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 + - main + - restart event: - - pull_request \ No newline at end of file + - pull_request \ No newline at end of file