Try adding a drone.yml
This commit is contained in:
parent
95d969ed25
commit
e6c56172d3
30
.drone.yml
Normal file
30
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user