Update build workflow

This commit is contained in:
apio 2024-02-04 14:18:51 +01:00
parent 7f2a65f6d6
commit d4b368b078
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -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