Luna/.gitea/workflows/build.yaml
apio b24aa1821c
Some checks failed
Build and test / build (push) Failing after 0s
CI: Upload built ISOs
2024-09-01 14:11:54 +02:00

28 lines
842 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
apt install -y cmake ninja-build nasm genext2fs qemu-system build-essential wget git
- 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
- name: Upload artifact
- uses: actions/upload-artifact@v4
with:
name: nightly-iso
path: Luna.iso
if-no-files-found: error