Luna/.gitea/workflows/build.yaml
apio e02dee1f41
Some checks failed
Build and test / build (push) Failing after 50s
Update workflow
2024-02-04 14:27:20 +01:00

23 lines
718 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
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: build-essential cmake ninja-build wget nasm genext2fs qemu-system git
version: 1.0
- 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