Luna/.drone.yml
2022-12-05 18:44:44 +01:00

31 lines
571 B
YAML

kind: pipeline
type: docker
name: test-pr
platform:
arch: arm64
steps:
- name: prepare
image: ubuntu
commands:
- apt update
- apt install build-essential cmake ninja-build wget nasm -y
- wget https://pub.cloudapio.eu/luna/toolchain-linux-arm64.tar.gz --quiet
- tar xf toolchain-linux-arm64.tar.gz
- rm toolchain-linux-arm64.tar.gz
- name: build
image: ubuntu
commands:
- tools/rebuild-iso.sh
- name: check-formatting
image: ubuntu
commands:
- tools/check-formatting.sh
trigger:
branch:
- main
- restart
event:
- pull_request