Luna/.gitea/workflows/build.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 13: mapping key "run" already defined at line 12 line 16: mapping key "run" already defined at line 15 line 17: mapping key "run" already defined at line 15 line 17: mapping key "run" already defined at line 16
2024-02-04 14:18:51 +01:00

20 lines
654 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: apt update
run: apt install build-essential cmake ninja-build wget nasm genext2fs qemu-system git -y
- name: Set up the toolchain
run: wget https://pub.cloudapio.eu/luna/toolchains/ci-toolchain-arm64.tar.gz --quiet
run: tar xf ci-toolchain-arm64.tar.gz
run: rm ci-toolchain-arm64.tar.gz
- name: Build and run tests
run: tools/run-tests.sh