y
All checks were successful
/ deploy (push) Successful in 1m29s

This commit is contained in:
Minecon724 2024-10-19 20:11:21 +02:00
parent 51b8c454e1
commit b1ab69b358
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -4,13 +4,15 @@ jobs:
runs-on: docker runs-on: docker
container: debian:bookworm container: debian:bookworm
steps: steps:
- run: dpkg --add-architecture amd64 && apt update - name: Prepare for installation
run: dpkg --add-architecture amd64 && apt update
- name: Install prerequisites - name: Install prerequisites
run: apt install -y git ca-certificates run: apt install -y git ca-certificates
- name: Install toolchain - name: Install toolchain
run: apt install -y gcc gcc-x86-64-linux-gnu:arm64 make:arm64 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 run: apt install -y libelf-dev:arm64 libelf-dev:amd64
- 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
@ -18,8 +20,9 @@ jobs:
- name: Package for aarch64 - name: Package for aarch64
run: CC=aarch64-linux-gnu-gcc PROGRAM_NAME=criscv-aarch64 make 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 - name: Upload artifact
uses: https://github.com/actions/upload-artifact@v4 uses: https://github.com/actions/upload-artifact@v3
with: with:
path: build/criscv-* path: build/criscv-*