diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 9640d90..80487cd 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -13,9 +13,8 @@ jobs: run: apt install -y libelf-dev:arm64 libelf-dev:amd64 - name: Clone repository run: git clone https://git.m724.eu/Minecon724/criscv.git . - - run: CC=x86_64-linux-gnu-gcc make libinfo - name: Package for x86_64 - run: LD_LIBRARY_PATH=/usr/include CC=x86_64-linux-gnu-gcc PROGRAM_NAME=crisc-x86_64 make + run: LD_LIBRARY_PATH=/usr/include CC=x86_64-linux-gnu-gcc PROGRAM_NAME=crisc-x86_64 make && rm build/obj - name: Package for aarch64 run: LD_LIBRARY_PATH=/usr/include CC=aarch64-linux-gnu-gcc PROGRAM_NAME=crisc-aarch64 make - name: Upload artifact