diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 00000000..1275952c --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,15 @@ +name: Build and test +run-name: ${{ gitea.actor }} is testing and running the code +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: apt update + - run: apt install build-essential cmake ninja-build wget nasm genext2fs qemu-system git -y + - 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 + - run: tools/run-tests.sh