Luna/.gitea/workflows/build.yaml
apio 8efcf6d852
Some checks failed
Build and test / build (push) Has been cancelled
Run apt as sudo
2024-02-10 11:55:34 +01:00

22 lines
688 B
YAML

name: Build and test
run-name: ${{ gitea.actor }} is testing and running the code
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Download dependencies
run: |
sudo apt update
sudo apt install -y cmake ninja-build nasm genext2fs qemu-system build-essential wget git fakeroot
- name: Set up the toolchain
run: |
wget https://pub.cloudapio.eu/luna/toolchains/ci-toolchain-arm64.tar.gz --quiet
tar xf ci-toolchain-arm64.tar.gz
rm ci-toolchain-arm64.tar.gz
- name: Build and run tests
run: tools/run-tests.sh