Try adding a drone.yml

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

30
.drone.yml Normal file
View File

@ -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