kind: pipeline
type: docker
name: test

platform:
  arch: arm64
  os: linux

steps:
- name: build
  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
  - tools/rebuild-iso.sh

trigger:
  branch:
    - main
    - restart
  event:
    - push
    - pull_request