30 lines
549 B
YAML
30 lines
549 B
YAML
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 |