fix workflow once and for all
Some checks failed
/ deploy (push) Failing after 54s

This commit is contained in:
Minecon724 2024-10-19 16:24:47 +02:00
parent d1d549f8dd
commit 66f304fc81
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 4 additions and 4 deletions

View file

@ -10,13 +10,13 @@ jobs:
- name: Install toolchain - name: Install toolchain
run: apt install -y gcc-x86-64-linux-gnu gcc-aarch64-linux-gnu make run: apt install -y gcc-x86-64-linux-gnu gcc-aarch64-linux-gnu make
- name: Install dependencies - name: Install dependencies
run: apt install -y libelf1 run: apt install -y libelf-dev
- name: Clone repository - name: Clone repository
run: git clone https://git.m724.eu/Minecon724/criscv.git . run: git clone https://git.m724.eu/Minecon724/criscv.git .
- name: Package for x86_64 - name: Package for x86_64
run: 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
- name: Package for aarch64 - name: Package for aarch64
run: CC=aarch64-linux-gnu-gcc PROGRAM_NAME=crisc-aarch64 make run: LD_LIBRARY_PATH=/usr/include CC=aarch64-linux-gnu-gcc PROGRAM_NAME=crisc-aarch64 make
- name: Upload artifact - name: Upload artifact
uses: https://github.com/actions/upload-artifact@v4 uses: https://github.com/actions/upload-artifact@v4
with: with:

View file

@ -1,7 +1,7 @@
# Compiler to use # Compiler to use
CC ?= gcc CC ?= gcc
CFLAGS = -Wall -Wextra -std=gnu23 -I include -I /usr/include CFLAGS = -Wall -Wextra -std=gnu23 -I include
LDFLAGS = -lelf LDFLAGS = -lelf
# Directory for build outputs # Directory for build outputs