diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e794730..4660bed 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -4,13 +4,15 @@ jobs: runs-on: docker container: debian:bookworm steps: - - run: dpkg --add-architecture amd64 && apt update + - name: Prepare for installation + run: dpkg --add-architecture amd64 && apt update - name: Install prerequisites run: apt install -y git ca-certificates - name: Install toolchain run: apt install -y gcc gcc-x86-64-linux-gnu:arm64 make:arm64 - - name: Install dependencies (arm64 & amd64) + - name: Install program dependencies run: apt install -y libelf-dev:arm64 libelf-dev:amd64 + - name: Clone repository run: git clone https://git.m724.eu/Minecon724/criscv.git . - name: Package for x86_64 @@ -18,8 +20,9 @@ jobs: - name: Package for aarch64 run: CC=aarch64-linux-gnu-gcc PROGRAM_NAME=criscv-aarch64 make - - run: apt install -y nodejs + - name: No escape from unnecessary nodejs + run: apt install -y nodejs - name: Upload artifact - uses: https://github.com/actions/upload-artifact@v4 + uses: https://github.com/actions/upload-artifact@v3 with: path: build/criscv-* \ No newline at end of file