Update drone.yml

This commit is contained in:
apio 2022-12-05 18:06:30 +01:00
parent e6c56172d3
commit 4074835185
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -3,28 +3,31 @@ type: docker
name: lint-pr name: lint-pr
steps: steps:
- name: setup-env - name: setup-env
image: ubuntu:latest image: ubuntu:latest
commands: commands:
- apt install build-essential cmake ninja-build wget - apt install build-essential cmake ninja-build wget
- wget https://pub.cloudapio.eu/luna/toolchain-linux-arm64.tar.gz - wget https://pub.cloudapio.eu/luna/toolchain-linux-arm64.tar.gz
- tar xf toolchain-linux-arm64.tar.gz - tar xf toolchain-linux-arm64.tar.gz
- name: check-formatting
commands: - name: check-formatting
- tools/check-formatting.sh commands:
- name: check-stdint - tools/check-formatting.sh
commands:
- tools/check-stdint.sh - name: check-stdint
when: commands:
branch: - tools/check-stdint.sh
- restart when:
- name: check-build branch:
commands: - restart
- tools/rebuild-iso.sh
- name: check-build
commands:
- tools/rebuild-iso.sh
trigger: trigger:
branch: branch:
- main - main
- restart - restart
event: event:
- pull_request - pull_request