From d4b368b0783e9cc4f235f559680898682405dbe6 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 4 Feb 2024 14:18:51 +0100 Subject: [PATCH] Update build workflow --- .gitea/workflows/build.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 1275952c..e8975514 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -6,10 +6,14 @@ 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 + - 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